summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/topotests/nhrp_topo/test_nhrp_topo.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/topotests/nhrp_topo/test_nhrp_topo.py b/tests/topotests/nhrp_topo/test_nhrp_topo.py
index 313ffd5ce9..e6e551906a 100644
--- a/tests/topotests/nhrp_topo/test_nhrp_topo.py
+++ b/tests/topotests/nhrp_topo/test_nhrp_topo.py
@@ -87,14 +87,14 @@ def _populate_iface():
for cmd in cmds_tot_hub:
input = cmd.format("r2", "2")
- logger.info("input: " + cmd)
- output = tgen.net["r2"].cmd(cmd.format("r2", "2"))
+ logger.info("input: " + input)
+ output = tgen.net["r2"].cmd(input)
logger.info("output: " + output)
for cmd in cmds_tot:
input = cmd.format("r1", "1")
- logger.info("input: " + cmd)
- output = tgen.net["r1"].cmd(cmd.format("r1", "1"))
+ logger.info("input: " + input)
+ output = tgen.net["r1"].cmd(input)
logger.info("output: " + output)