mirror of
https://github.com/qurator-spk/eynollah.git
synced 2025-06-09 20:29:55 +02:00
test_run: ensure exceptions are shown
This commit is contained in:
parent
e2907f67e0
commit
177e017167
1 changed files with 1 additions and 1 deletions
|
@ -43,7 +43,7 @@ def test_run_eynollah_layout_filename(tmp_path, subtests, pytestconfig, caplog):
|
||||||
with subtests.test(#msg="test CLI",
|
with subtests.test(#msg="test CLI",
|
||||||
options=options):
|
options=options):
|
||||||
with caplog.filtering(only_eynollah):
|
with caplog.filtering(only_eynollah):
|
||||||
result = runner.invoke(layout_cli, args + options)
|
result = runner.invoke(layout_cli, args + options, catch_exceptions=False)
|
||||||
print(result)
|
print(result)
|
||||||
assert result.exit_code == 0
|
assert result.exit_code == 0
|
||||||
logmsgs = [logrec.message for logrec in caplog.records]
|
logmsgs = [logrec.message for logrec in caplog.records]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue