Skip to content
Snippets Groups Projects
Commit ba642fe0 authored by Erik Reid's avatar Erik Reid
Browse files

run test for all router netconf test data

parent f2e77c78
Branches
Tags
No related merge requests found
......@@ -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):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment