From f6e3ebf6f0db9a4135974fb64613a35ae29d7b47 Mon Sep 17 00:00:00 2001 From: Brandon Hancock Date: Tue, 29 Oct 2024 11:40:36 -0400 Subject: [PATCH] adding more error logs to test thats failing --- tests/cli/cli_test.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tests/cli/cli_test.py b/tests/cli/cli_test.py index e3c1ee216..a7b454261 100644 --- a/tests/cli/cli_test.py +++ b/tests/cli/cli_test.py @@ -287,7 +287,10 @@ def test_flow_add_crew(mock_create_embedded_crew, runner): crew_name = "new_crew" result = runner.invoke(flow_add_crew, [crew_name]) - assert result.exit_code == 0 + # Log the output for debugging + print(result.output) + + assert result.exit_code == 0, f"Command failed with output: {result.output}" assert f"Adding crew {crew_name} to the flow" in result.output # Verify that create_embedded_crew was called with the correct arguments