From a53c08bc131c02f4a20931d7aa9f974194ab16e7 Mon Sep 17 00:00:00 2001 From: Christian Hopps Date: Fri, 3 Sep 2021 08:47:30 -0400 Subject: tests: cleanup: rerun changed files through black Signed-off-by: Christian Hopps --- tests/topotests/pim_basic/test_pim.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/topotests/pim_basic/test_pim.py') diff --git a/tests/topotests/pim_basic/test_pim.py b/tests/topotests/pim_basic/test_pim.py index 1d1067c341..03b4368e42 100644 --- a/tests/topotests/pim_basic/test_pim.py +++ b/tests/topotests/pim_basic/test_pim.py @@ -205,7 +205,7 @@ def test_pim_igmp_report(): r1 = tgen.gears["r1"] # Let's send a igmp report from r2->r1 - cmd = [ os.path.join(CWD, "mcast-rx.py"), "229.1.1.2", "r2-eth0" ] + cmd = [os.path.join(CWD, "mcast-rx.py"), "229.1.1.2", "r2-eth0"] p = r2.popen(cmd) try: expected = { @@ -221,7 +221,7 @@ def test_pim_igmp_report(): test_func = partial( topotest.router_json_cmp, r1, "show ip pim upstream json", expected ) - _, result = topotest.run_and_expect(test_func, None, count=5, wait=.5) + _, result = topotest.run_and_expect(test_func, None, count=5, wait=0.5) assertmsg = '"{}" JSON output mismatches'.format(r1.name) assert result is None, assertmsg finally: -- cgit v1.2.3