summaryrefslogtreecommitdiff
path: root/tests/topotests/conftest.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/topotests/conftest.py')
-rwxr-xr-xtests/topotests/conftest.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/topotests/conftest.py b/tests/topotests/conftest.py
index d119b0931b..76e4714bfa 100755
--- a/tests/topotests/conftest.py
+++ b/tests/topotests/conftest.py
@@ -244,11 +244,11 @@ def pytest_runtest_makereport(item, call):
modname = parent.module.__name__
# Treat skips as non errors, don't pause after
- if call.excinfo.typename != "AssertionError":
+ if call.excinfo.typename == "Skipped":
pause = False
error = False
logger.info(
- 'assert skipped at "{}/{}": {}'.format(
+ 'test skipped at "{}/{}": {}'.format(
modname, item.name, call.excinfo.value
)
)
@@ -257,7 +257,7 @@ def pytest_runtest_makereport(item, call):
# Handle assert failures
parent._previousfailed = item # pylint: disable=W0212
logger.error(
- 'assert failed at "{}/{}": {}'.format(
+ 'test failed at "{}/{}": {}'.format(
modname, item.name, call.excinfo.value
)
)