From ba642fe0ad40b1c9072401a2b1072dd00f685198 Mon Sep 17 00:00:00 2001 From: Erik Reid <erik.reid@geant.org> Date: Thu, 7 Feb 2019 17:37:25 +0100 Subject: [PATCH] run test for all router netconf test data --- test/{ => per_router}/test_ix_public_peers.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename test/{ => per_router}/test_ix_public_peers.py (97%) diff --git a/test/test_ix_public_peers.py b/test/per_router/test_ix_public_peers.py similarity index 97% rename from test/test_ix_public_peers.py rename to test/per_router/test_ix_public_peers.py index 334de18b..abeb8f75 100644 --- a/test/test_ix_public_peers.py +++ b/test/per_router/test_ix_public_peers.py @@ -17,7 +17,7 @@ ROUTER_NAME = 'mx2.lju.si.geant.net' @pytest.fixture -def netconf(): +def netconf(router): netconf_filename = os.path.join( TEST_DATA_DIRNAME, ROUTER_NAME + '-netconf.xml') @@ -57,7 +57,7 @@ def test_ix_public_peers(netconf): for p in juniper.ix_public_peers(netconf): jsonschema.validate(p, schema) - + print(p) def test_vpn_rr_peers(netconf): for p in juniper.vpn_rr_peers(netconf): -- GitLab