Skip to content

Commit

Permalink
WIP: DEBUG
Browse files Browse the repository at this point in the history
  • Loading branch information
samuell committed Jul 4, 2024
1 parent c287380 commit 81fd3fc
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions tests/test_commands.py
Original file line number Diff line number Diff line change
Expand Up @@ -221,6 +221,14 @@ def test_finish_qc(isdir, smtp, reqs_get, proc_join, proc_term, webstart, create

isdir.return_value = True

cmd_bits = ['utils', 'finish', path_testdata, '--report', 'qc', '--output', '/tmp/', '--input', path_testproject]
for cmd_bit in cmd_bits:
exists = os.path.exists(cmd_bit)
if exists:
exists_text = "EXISTS [x]"
else:
exists_text = "EXISTS [ ]"
logger.debug("{}: {}".format(exists_text, cmd_bit))
special_run = runner.invoke(root, ['utils', 'finish', path_testdata, '--report', 'qc', '--output', '/tmp/', '--input', path_testproject])
assert special_run.exit_code == 0
assert "INFO - Execution finished!" in caplog.text
Expand Down

0 comments on commit 81fd3fc

Please sign in to comment.