def setUp(self):
# pylint: disable=consider-using-f-string
print("execution of {}".format(self.id().split(".")[-1]))
- time.sleep(10)
+ time.sleep(1)
def test_01_rdm_device_connection(self):
response = test_utils.mount_device("ROADMA01", ('roadma', self.NODE_VERSION))
print("all processes killed")
def setUp(self):
- time.sleep(10)
+ time.sleep(2)
# Connect the ROADMA
def test_01_connect_rdm(self):
print("all processes killed")
def setUp(self):
- time.sleep(5)
+ time.sleep(2)
def test_01_connect_ROADMA(self):
response = test_utils.mount_device("ROADMA01", ('roadma', self.NODE_VERSION))
def setUp(self):
# pylint: disable=consider-using-f-string
print("execution of {}".format(self.id().split(".")[-1]))
- time.sleep(10)
+ time.sleep(2)
def test_01_rdm_device_connected(self):
response = test_utils.mount_device("ROADMA01", ('roadma', self.NODE_VERSION))
print("all processes killed")
def setUp(self):
- time.sleep(10)
+ time.sleep(2)
# Connect the ROADMA
def test_01_connect_rdm(self):
print("all processes killed")
def setUp(self):
- time.sleep(5)
+ time.sleep(2)
def test_01_connect_ROADM_A1(self):
response = test_utils.mount_device("ROADM-A1", ('roadma', self.NODE_VERSION))
print("all processes killed")
def setUp(self):
- time.sleep(5)
+ time.sleep(2)
def test_01_connect_SPDR_SA1(self):
response = test_utils.mount_device("SPDR-SA1", ('spdra', self.NODE_VERSION))
def setUp(self):
# pylint: disable=consider-using-f-string
print("execution of {}".format(self.id().split(".")[-1]))
- time.sleep(10)
+ time.sleep(2)
def test_01_rdm_device_connection(self):
response = test_utils.mount_device("ROADM-D1", ('roadmd', self.NODE_VERSION))
print("all processes killed")
def setUp(self):
- time.sleep(5)
+ time.sleep(2)
def test_01_connect_SPDR_SA1(self):
response = test_utils.mount_device("SPDR-SA1", ('spdra', self.NODE_VERSION))
print("all processes killed")
def setUp(self):
- time.sleep(5)
+ time.sleep(2)
def test_01_connect_SPDR_SA1(self):
response = test_utils.mount_device("SPDR-SA1", ('spdra', self.NODE_VERSION))
self.assertEqual(response['status_code'], requests.codes.ok)
self.assertIn('Operation Successful',
response['output']['configuration-response-common']['response-message'])
+ time.sleep(2)
# Test OCH-OTU interfaces on SPDR-A1
def test_04_check_interface_och(self):
self.assertEqual(response['status_code'], requests.codes.ok)
self.assertIn('Operation Successful',
response['output']['configuration-response-common']['response-message'])
+ time.sleep(2)
# Test ODU4 interfaces on SPDR-A1 and SPDR-C1
def test_09_check_interface_ODU4(self):
self.assertEqual(response['status_code'], requests.codes.ok)
self.assertIn('Operation Successful',
response['output']['configuration-response-common']['response-message'])
+ time.sleep(2)
# Test the interfaces on SPDR-A1
def test_12_check_interface_10GE_CLIENT(self):
print("all processes killed")
def setUp(self):
- time.sleep(5)
+ time.sleep(2)
def test_01_connect_spdrA(self):
response = test_utils.mount_device("SPDR-SA1", ('spdra', self.NODE_VERSION))
def setUp(self):
# pylint: disable=consider-using-f-string
print("execution of {}".format(self.id().split(".")[-1]))
- time.sleep(10)
+ time.sleep(2)
def test_01_xpdr_device_connection(self):
response = test_utils.mount_device("XPDR-A2",
def setUp(self):
# pylint: disable=consider-using-f-string
print("execution of {}".format(self.id().split(".")[-1]))
- time.sleep(10)
+ time.sleep(2)
def test_01_xpdr_device_connection(self):
response = test_utils.mount_device("XPDR-A2",
print("all processes killed")
def setUp(self):
- time.sleep(5)
+ time.sleep(2)
def test_01_connect_spdrA(self):
print("Connecting SPDRA")