mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-06-14 14:46:57 +00:00
tests: fix --pause functionality
Signed-off-by: Christian Hopps <chopps@labn.net>
This commit is contained in:
parent
70de85d669
commit
cad554442b
@ -396,12 +396,7 @@ def pytest_runtest_setup(item):
|
|||||||
def pytest_runtest_makereport(item, call):
|
def pytest_runtest_makereport(item, call):
|
||||||
"Log all assert messages to default logger with error level"
|
"Log all assert messages to default logger with error level"
|
||||||
|
|
||||||
# Nothing happened
|
pause = bool(item.config.getoption("--pause"))
|
||||||
if call.when == "call":
|
|
||||||
pause = topotest_extra_config["pause"]
|
|
||||||
else:
|
|
||||||
pause = False
|
|
||||||
|
|
||||||
title = "unset"
|
title = "unset"
|
||||||
|
|
||||||
if call.excinfo is None:
|
if call.excinfo is None:
|
||||||
|
Loading…
Reference in New Issue
Block a user