tests: Remove unnecessary formating for strings

Signed-off-by: Donald Sharp <sharpd@nvidia.com>
This commit is contained in:
Donald Sharp 2021-04-09 08:53:44 -04:00
parent d9df892180
commit f4baa8fe25

View File

@ -112,7 +112,7 @@ def test_protocols_convergence():
test_func = partial( test_func = partial(
topotest.router_json_cmp, topotest.router_json_cmp,
router, router,
"show ip route json".format(router.name), "show ip route json",
expected, expected,
) )
_, result = topotest.run_and_expect(test_func, None, count=160, wait=0.5) _, result = topotest.run_and_expect(test_func, None, count=160, wait=0.5)
@ -131,7 +131,7 @@ def test_protocols_convergence():
test_func = partial( test_func = partial(
topotest.router_json_cmp, topotest.router_json_cmp,
router, router,
"show ipv6 route json".format(router.name), "show ipv6 route json",
expected, expected,
) )
_, result = topotest.run_and_expect(test_func, None, count=160, wait=0.5) _, result = topotest.run_and_expect(test_func, None, count=160, wait=0.5)