summaryrefslogtreecommitdiff
path: root/tests/topotests/conftest.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/topotests/conftest.py')
-rwxr-xr-xtests/topotests/conftest.py7
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: