Skip to content

Commit

Permalink
Merge branch '697-update-ci-so-that-it-does-not-start-fractal-server-…
Browse files Browse the repository at this point in the history
…from-within-python' of github.com:fractal-analytics-platform/fractal-client into 697-update-ci-so-that-it-does-not-start-fractal-server-from-within-python
  • Loading branch information
tcompa committed Oct 24, 2024
2 parents 0d4c6b6 + 8502f31 commit 5140228
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions tests/test_workflow.py
Original file line number Diff line number Diff line change
Expand Up @@ -558,7 +558,6 @@ def test_workflow_import(
# Fail due to missing --json-file argument
with pytest.raises(SystemExit):
invoke(f"workflow import --project-id {project_id}")

# import workflow into project
filename = str(testdata_path / "import-export/workflow.json")
res = invoke(
Expand All @@ -572,7 +571,7 @@ def test_workflow_import(
# get the workflow from the server, and check that it is the same
workflow_id = res.data["id"]
res = invoke(f"workflow show {project_id} {workflow_id}")
debug(res.data)
debug(res.retcode, res.data)
assert res.retcode == 0
res.data["task_list"][-1]["warning"] = None
assert res.data == imported_workflow
Expand All @@ -583,7 +582,7 @@ def test_workflow_import(
f"--batch workflow import --project-id {project_id} "
f"--json-file {filename}"
)
debug(res.data)
debug(res.retcode, res.data)
assert res.retcode == 0

# import workflow into project, with --workflow-name
Expand Down

0 comments on commit 5140228

Please sign in to comment.