From bb3d972b2e30daf1ea949301f98ffeffb0bac39b Mon Sep 17 00:00:00 2001 From: Janosh Riebesell Date: Sun, 13 Aug 2023 17:26:19 -0700 Subject: [PATCH] test flow_to_workflow() with custom name --- tests/managers/test_fireworks.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/managers/test_fireworks.py b/tests/managers/test_fireworks.py index 4821d239..74154f54 100644 --- a/tests/managers/test_fireworks.py +++ b/tests/managers/test_fireworks.py @@ -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"