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

added failing test

parent 8aeb094f
No related branches found
No related tags found
No related merge requests found
......@@ -77,6 +77,27 @@ def test_no_db_load_interfaces(mocked_router):
assert aggregates
def test_physical_no_lag(mocked_router):
"""
confirm no ae* interfaces are present in the list
of physical interfaces
"""
ssh = {
'username': 'bogus',
'private-key': 'no file'
}
with juniper.router(
hostname='blah-bogus',
port=12345,
ssh_config=ssh) as dev:
physical = juniper.load_installed_ethernet_ports(dev)
assert all(p['name'].startswith('ae') is False for p in physical)
def test_load_interfaces(
mocked_router, resources_db, config_file, router_name):
"""
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment