From 1fd243d2ed6305f7bd7d3e593e360970e4daabf6 Mon Sep 17 00:00:00 2001 From: Erik Reid <erik.reid@geant.org> Date: Mon, 7 Sep 2020 10:56:12 +0200 Subject: [PATCH] added rt[12] to router name sanity test --- test/test_junos_devices_query.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/test_junos_devices_query.py b/test/test_junos_devices_query.py index 811724c9..89865d08 100644 --- a/test/test_junos_devices_query.py +++ b/test/test_junos_devices_query.py @@ -48,4 +48,4 @@ def test_router_hostname_derivation(mocked_redis): hostnames = list(data.derive_router_hostnames(config)) assert hostnames # test data is non-empty for h in hostnames: - assert re.match(r'^(mx[12]|qfx|srx[12])\..+\.geant\.net$', h) + assert re.match(r'^(rt[12]|mx[12]|qfx|srx[12])\..+\.geant\.net$', h) -- GitLab