Reactivate disabled functional tests 45/107945/1
authorGilles Thouenon <gilles.thouenon@orange.com>
Thu, 21 Sep 2023 16:53:46 +0000 (18:53 +0200)
committerGilles Thouenon <gilles.thouenon@orange.com>
Thu, 21 Sep 2023 17:30:26 +0000 (19:30 +0200)
Reactivate few functional tests disabled due to the restconf bug
(https://jira.opendaylight.org/browse/AAA-265)

Signed-off-by: Gilles Thouenon <gilles.thouenon@orange.com>
Change-Id: I2963cf8084faba60d0199dd9f681698d9be1c18b

tests/transportpce_tests/1.2.1/test04_renderer_service_path_nominal.py
tests/transportpce_tests/2.2.1/test06_renderer_service_path_nominal.py

index cbb0baa41967943fa250d6405a8d1c137b3460d3..086fd4eae7ee331912a4aaeb6af03f5afcd0e1dc 100644 (file)
@@ -230,7 +230,6 @@ class TransportPCERendererTesting(unittest.TestCase):
              'fec': 'off'},
             response['interface'][0]['org-openroadm-ethernet-interfaces:ethernet'])
 
-    @unittest.skip("attributes that contains slashes seems to give some troubles to the controller")
     def test_13_service_path_create_xpdr_check(self):
         response = test_utils.check_node_attribute_request("XPDRA01", "circuit-packs", "1%2F0%2F1-PLUG-NET")
         # FIXME: https://jira.opendaylight.org/browse/TRNSPRTPCE-591
@@ -286,7 +285,6 @@ class TransportPCERendererTesting(unittest.TestCase):
         response = test_utils.check_node_attribute_request("XPDRA01", "interface", "XPDR1-CLIENT1-ETHERNET")
         self.assertEqual(response['status_code'], requests.codes.conflict)
 
-    @unittest.skip("attributes that contains slashes seems to give some troubles to the controller")
     def test_22_service_path_delete_xpdr_check(self):
         response = test_utils.check_node_attribute_request("XPDRA01", "circuit-packs", "1%2F0%2F1-PLUG-NET")
         self.assertEqual(response['status_code'], requests.codes.ok)
index 824e5d8014fe5e08695bb4a0a674b90962703659..ad159b9565bc0517e19b5764aa53b61517baf6b2 100644 (file)
@@ -247,14 +247,12 @@ class TransportPCERendererTesting(unittest.TestCase):
                  **response['interface'][0]['org-openroadm-ethernet-interfaces:ethernet']),
             response['interface'][0]['org-openroadm-ethernet-interfaces:ethernet'])
 
-    @unittest.skip("attributes that contains slashes seems to give some troubles to the controller")
     def test_15_service_path_create_xpdr_check(self):
         response = test_utils.check_node_attribute_request("XPDR-A1", "circuit-packs", "1%2F0%2F1-PLUG-NET")
         self.assertEqual(response['status_code'], requests.codes.ok)
         self.assertIn('not-reserved-inuse', response['circuit-packs'][0]['equipment-state'])
         # FIXME: https://jira.opendaylight.org/browse/TRNSPRTPCE-591
 
-    @unittest.skip("attributes that contains slashes seems to give some troubles to the controller")
     def test_16_service_path_create_xpdr_check(self):
         response = test_utils.check_node_attribute_request("XPDR-A1", "circuit-packs", "1%2F0%2F1-PLUG-CLIENT")
         self.assertEqual(response['status_code'], requests.codes.ok)
@@ -323,13 +321,11 @@ class TransportPCERendererTesting(unittest.TestCase):
         response = test_utils.check_node_attribute_request("XPDR-A1", "interface", "XPDR1-CLIENT1-ETHERNET")
         self.assertEqual(response['status_code'], requests.codes.conflict)
 
-    @unittest.skip("attributes that contains slashes seems to give some troubles to the controller")
     def test_28_service_path_delete_xpdr_check(self):
         response = test_utils.check_node_attribute_request("XPDR-A1", "circuit-packs", "1%2F0%2F1-PLUG-NET")
         self.assertEqual(response['status_code'], requests.codes.ok)
         self.assertEqual('not-reserved-available', response["circuit-packs"][0]['equipment-state'])
 
-    @unittest.skip("attributes that contains slashes seems to give some troubles to the controller")
     def test_29_service_path_delete_xpdr_check(self):
         response = test_utils.check_node_attribute_request("XPDR-A1", "circuit-packs", "1%2F0%2F1-PLUG-CLIENT")
         self.assertEqual(response['status_code'], requests.codes.ok)