Skip to content

Commit 98a4b22

Browse files
fix(workflow): list composite plans (#3218)
1 parent e4c9eb6 commit 98a4b22

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

renku/command/view_model/composite_plan.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -221,6 +221,7 @@ def __init__(
221221
self.touches_existing_files = touches_existing_files
222222
self.latest = latest
223223
self.type = "CompositePlan"
224+
self.full_command = ""
224225

225226
if duration is not None:
226227
self.duration = duration.seconds

tests/cli/test_workflow.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -161,6 +161,9 @@ def test_workflow_compose(runner, project, run_shell):
161161
assert composite_plan.mappings[1].default_value == "other_output.csv"
162162
assert composite_plan.mappings[1].description == "the final output file produced"
163163

164+
result = runner.invoke(cli, ["workflow", "ls"])
165+
assert 0 == result.exit_code, format_result_exception(result)
166+
164167
result = runner.invoke(cli, ["graph", "export", "--format", "json-ld", "--strict"])
165168
assert 0 == result.exit_code, format_result_exception(result)
166169

0 commit comments

Comments
 (0)