Skip to content

Commit

Permalink
test flow_to_workflow() with custom name
Browse files Browse the repository at this point in the history
  • Loading branch information
janosh committed Aug 14, 2023
1 parent 62eb2c9 commit bb3d972
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/managers/test_fireworks.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,12 @@ def test_flow_to_workflow(
assert len(wf.fws) == 1
assert wf.fws[0].name == "func"

# test simple job no store
# test simple job no store with custom name
flow = simple_job()
wf = flow_to_workflow(flow)
wf = flow_to_workflow(flow, name="custom_name")

assert type(wf) == Workflow
assert wf.name == "Flow"
assert wf.name == "custom_name"
assert len(wf.fws) == 1
assert wf.fws[0].name == "func"

Expand Down

0 comments on commit bb3d972

Please sign in to comment.