summaryrefslogtreecommitdiffstats
path: root/tests/topotests/isis_srv6_topo1/test_isis_srv6_topo1.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/topotests/isis_srv6_topo1/test_isis_srv6_topo1.py')
-rw-r--r--tests/topotests/isis_srv6_topo1/test_isis_srv6_topo1.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/topotests/isis_srv6_topo1/test_isis_srv6_topo1.py b/tests/topotests/isis_srv6_topo1/test_isis_srv6_topo1.py
index 1a7505dd..9c1a23f5 100644
--- a/tests/topotests/isis_srv6_topo1/test_isis_srv6_topo1.py
+++ b/tests/topotests/isis_srv6_topo1/test_isis_srv6_topo1.py
@@ -60,7 +60,6 @@ test_isis_srv6_topo1.py:
"""
import os
-import re
import sys
import json
import functools
@@ -212,7 +211,7 @@ def setup_module(mod):
tgen.start_router()
-def teardown_module(mod):
+def teardown_module():
"Teardown the pytest environment"
# Teardown the topology
@@ -250,7 +249,7 @@ def check_ping6(name, dest_addr, expect_connected):
logger.info("[+] check {} {} {}".format(name, dest_addr, match))
tgen = get_topogen()
func = functools.partial(_check, name, dest_addr, match)
- success, result = topotest.run_and_expect(func, None, count=10, wait=1)
+ _, result = topotest.run_and_expect(func, None, count=10, wait=1)
assert result is None, "Failed"