From 1c00abca5303c2edf8b0cb028c7bc6d47d700739 Mon Sep 17 00:00:00 2001 From: Louis Scalbert Date: Wed, 23 Apr 2025 12:51:30 +0200 Subject: [PATCH] tests: bgp_evpn_rt5 don't check for file presence They are always there. Signed-off-by: Louis Scalbert --- tests/topotests/bgp_evpn_rt5/test_bgp_evpn.py | 9 --------- 1 file changed, 9 deletions(-) diff --git a/tests/topotests/bgp_evpn_rt5/test_bgp_evpn.py b/tests/topotests/bgp_evpn_rt5/test_bgp_evpn.py index 3807456298..1ba66c50a5 100644 --- a/tests/topotests/bgp_evpn_rt5/test_bgp_evpn.py +++ b/tests/topotests/bgp_evpn_rt5/test_bgp_evpn.py @@ -166,9 +166,6 @@ def test_protocols_convergence(): for rname in ("r1", "r2"): router = tgen.gears[rname] json_file = "{}/{}/bgp_l2vpn_evpn_routes.json".format(CWD, router.name) - if not os.path.isfile(json_file): - assert 0, "bgp_l2vpn_evpn_routes.json file not found" - expected = json.loads(open(json_file).read()) test_func = partial( topotest.router_json_cmp, @@ -242,9 +239,6 @@ def test_bgp_vrf_routes(): json_file = "{}/{}/bgp_vrf_{}_routes_detail.json".format( CWD, router.name, af ) - if not os.path.isfile(json_file): - assert 0, "bgp vrf routes file not found" - expected = json.loads(open(json_file).read()) test_func = partial( topotest.router_json_cmp, @@ -406,9 +400,6 @@ def test_evpn_disable_routemap(): ) router = tgen.gears["r1"] json_file = "{}/{}/bgp_l2vpn_evpn_routes_all.json".format(CWD, router.name) - if not os.path.isfile(json_file): - assert 0, "bgp_l2vpn_evpn_routes.json file not found" - expected = json.loads(open(json_file).read()) test_func = partial( topotest.router_json_cmp, -- 2.39.5