Skip to content

Commit 522a864

Browse files
committed
Add integration test for simple job
1 parent bb3e200 commit 522a864

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
def test_migration_sequencing_simple_job(make_job, runtime_ctx) -> None:
2+
"""Sequence a simple job"""
3+
job = make_job()
4+
5+
maybe_job_node = runtime_ctx.migration_sequencer.register_job(job)
6+
assert not maybe_job_node.failed
7+
8+
steps = runtime_ctx.migration_sequencer.generate_steps()
9+
step_object_types = [step.object_type for step in steps]
10+
assert step_object_types == ["TASK", "JOB"]

0 commit comments

Comments
 (0)