Skip to content

Commit

Permalink
#120 Print output of the dodgy cli test before it fails
Browse files Browse the repository at this point in the history
  • Loading branch information
ahsimb committed Jul 2, 2024
1 parent 83b0dec commit 2b75688
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/deployment/test_deploy_cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,10 @@ def test_deploy_cli_main(backend, db_conn, deploy_params):

runner = CliRunner()
result = runner.invoke(deploy_cli.main, args_list)

if result.exit_code != 0:
print(result.output)

assert not result.exception
assert result.exit_code == 0

Expand Down

0 comments on commit 2b75688

Please sign in to comment.