@classmethod
def setUpClass(cls):
# pylint: disable=bare-except
+ sample_files_parsed = False
try:
- sample_files_parsed = False
TOPO_BI_DIR_FILE = os.path.join(os.path.dirname(os.path.realpath(__file__)),
"..", "..", "sample_configs", "honeynode-topo.xml")
with open(TOPO_BI_DIR_FILE, 'r', encoding='utf-8') as topo_bi_dir:
},
{"customer-code": ["Some customer-code"],
"co-routing": {"existing-service": ["Some existing-service"]}
- },
- "hop-count", {"locally-protected-links": "true"})
+ }, "hop-count")
self.assertEqual(response.status_code, requests.codes.ok)
res = response.json()
self.assertIn('Path is calculated',
"node-id": "XPONDER-1-2", "clli": "ORANGE1"},
{"service-rate": "100", "service-format": "Ethernet",
"node-id": "XPONDER-3-2", "clli": "ORANGE3"},
- {"exclude_": {"node-id": ["OpenROADM-2-1", "OpenROADM-2-2"]}})
+ {"exclude": {"node-id": ["OpenROADM-2-1", "OpenROADM-2-2"]}})
self.assertEqual(response.status_code, requests.codes.ok)
res = response.json()
self.assertIn('Path is calculated',