diff options
| author | Christian Hopps <chopps@labn.net> | 2023-03-03 02:49:10 -0500 |
|---|---|---|
| committer | Christian Hopps <chopps@labn.net> | 2023-03-03 07:19:22 -0500 |
| commit | cad554442b35e7b1d9cb44448e8264e5dab4a8df (patch) | |
| tree | fd33c594546d858687299bf7b54c1ea962f20692 /tests/topotests/conftest.py | |
| parent | 70de85d669cee551cd0659e2107c8b329a070aa1 (diff) | |
tests: fix --pause functionality
Signed-off-by: Christian Hopps <chopps@labn.net>
Diffstat (limited to 'tests/topotests/conftest.py')
| -rwxr-xr-x | tests/topotests/conftest.py | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/tests/topotests/conftest.py b/tests/topotests/conftest.py index 2a57f6c26e..df5d066023 100755 --- a/tests/topotests/conftest.py +++ b/tests/topotests/conftest.py @@ -396,12 +396,7 @@ def pytest_runtest_setup(item): def pytest_runtest_makereport(item, call): "Log all assert messages to default logger with error level" - # Nothing happened - if call.when == "call": - pause = topotest_extra_config["pause"] - else: - pause = False - + pause = bool(item.config.getoption("--pause")) title = "unset" if call.excinfo is None: |
