Skip to content

Commit e7582dc

Browse files
committed
Fix Fusion test
1 parent 2064f4f commit e7582dc

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

singlestoredb/tests/test_fusion.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -685,7 +685,8 @@ def test_show_jobs_and_executions(self):
685685
'Status', 'ScheduledStartTime', 'StartedAt', 'FinishedAt',
686686
]
687687
exec_job_ids = [x[2] for x in out]
688-
assert [x for x in exec_job_ids] == [job_id]
688+
for x in exec_job_ids:
689+
assert x == job_id
689690

690691
# show executions for job with id job_id from 1 to 5 extended
691692
self.cur.execute(f'show job executions for {job_id} from 1 to 5 extended')
@@ -698,7 +699,8 @@ def test_show_jobs_and_executions(self):
698699
'SnapshotNotebookPath',
699700
]
700701
exec_job_ids = [x[2] for x in out]
701-
assert [x for x in exec_job_ids] == [job_id]
702+
for x in exec_job_ids:
703+
assert x == job_id
702704

703705
# drop job
704706
self.cur.execute(f'drop jobs {job_id}')

0 commit comments

Comments
 (0)