Skip to content

Commit

Permalink
fix(workflow): list composite plans (#3218)
Browse files Browse the repository at this point in the history
  • Loading branch information
m-alisafaee committed Nov 18, 2022
1 parent e4c9eb6 commit 98a4b22
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions renku/command/view_model/composite_plan.py
Expand Up @@ -221,6 +221,7 @@ def __init__(
self.touches_existing_files = touches_existing_files
self.latest = latest
self.type = "CompositePlan"
self.full_command = ""

if duration is not None:
self.duration = duration.seconds
Expand Down
3 changes: 3 additions & 0 deletions tests/cli/test_workflow.py
Expand Up @@ -161,6 +161,9 @@ def test_workflow_compose(runner, project, run_shell):
assert composite_plan.mappings[1].default_value == "other_output.csv"
assert composite_plan.mappings[1].description == "the final output file produced"

result = runner.invoke(cli, ["workflow", "ls"])
assert 0 == result.exit_code, format_result_exception(result)

result = runner.invoke(cli, ["graph", "export", "--format", "json-ld", "--strict"])
assert 0 == result.exit_code, format_result_exception(result)

Expand Down

0 comments on commit 98a4b22

Please sign in to comment.