From 2b75688c08425bc21cbecb6e44c9dacb1797ba3d Mon Sep 17 00:00:00 2001 From: mibe Date: Tue, 2 Jul 2024 16:58:09 +0100 Subject: [PATCH] #120 Print output of the dodgy cli test before it fails --- tests/deployment/test_deploy_cli.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/deployment/test_deploy_cli.py b/tests/deployment/test_deploy_cli.py index 1d2694c..4b29797 100644 --- a/tests/deployment/test_deploy_cli.py +++ b/tests/deployment/test_deploy_cli.py @@ -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