diff --git a/test/data/router-info.json b/test/data/router-info.json index 372f3124b286878718efaf7373a5e15a099014ed..af54367b2e583429302192f14dea41093d87c454 100644 Binary files a/test/data/router-info.json and b/test/data/router-info.json differ diff --git a/test/test_ims_data.py b/test/test_ims_data.py index 8ec0d174a0c62dec5b856d6bf0cdb25ecf93a320..74fa71c3df0ec3d797511b72ac077048d1142f49 100644 --- a/test/test_ims_data.py +++ b/test/test_ims_data.py @@ -155,6 +155,7 @@ def test_get_port_id_services(mocker): 'service_type': 'GEANT IP', 'project': 'ORG A', 'port_a_id': 224507, + 'customerid': 57658 }, { 'id': 663104, @@ -164,6 +165,7 @@ def test_get_port_id_services(mocker): 'service_type': 'GEANT PEERING', 'project': 'ORG B', 'port_a_id': 224464, + 'customerid': 57664 }, { 'id': 679324, @@ -174,6 +176,7 @@ def test_get_port_id_services(mocker): 'project': 'ETH', 'port_a_id': 6423107, 'port_b_id': 6419340, + 'customerid': 57744 }, { 'id': 679324, @@ -184,6 +187,7 @@ def test_get_port_id_services(mocker): 'project': 'ETH', 'port_a_id': 6419340, 'port_b_id': 6423107, + 'customerid': 57744 }, { 'id': 679324, @@ -192,7 +196,8 @@ def test_get_port_id_services(mocker): 'circuit_type': 'circuit', 'service_type': 'ETHERNET', 'project': 'ETH', - 'port_a_id': 6423111 + 'port_a_id': 6423111, + 'customerid': 57744 }, { 'id': 702560, @@ -201,7 +206,8 @@ def test_get_port_id_services(mocker): 'circuit_type': 'service', 'service_type': 'PRODUCT A', 'project': 'ORG C', - 'port_a_id': 6419453 + 'port_a_id': 6419453, + 'customerid': 57640 } ] assert res == predicted