summaryrefslogtreecommitdiff
path: root/tests/topotests/lib/topojson.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/topotests/lib/topojson.py')
-rw-r--r--tests/topotests/lib/topojson.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/topotests/lib/topojson.py b/tests/topotests/lib/topojson.py
index 23a6c86993..901e4f623a 100644
--- a/tests/topotests/lib/topojson.py
+++ b/tests/topotests/lib/topojson.py
@@ -340,7 +340,7 @@ def build_config_from_json(tgen, topo=None, save_bkup=True):
result = load_config_to_routers(tgen, routers, save_bkup)
if not result:
logger.info("build_config_from_json: failed to configure topology")
- pytest.exit(1)
+ assert False
logger.info(
"Built config now clearing ospf neighbors as that router-id might not be what is used"