Some functional test suites remained configured with a rather long delay
between each test. Homogenize the whole to a rather short value.
Signed-off-by: Gilles Thouenon <gilles.thouenon@orange.com>
Change-Id: I082f82ac48b2e8530c008e311004ac52f0f0fd7c
14 files changed:
def setUp(self):
# pylint: disable=consider-using-f-string
print("execution of {}".format(self.id().split(".")[-1]))
def setUp(self):
# pylint: disable=consider-using-f-string
print("execution of {}".format(self.id().split(".")[-1]))
def test_01_rdm_device_connection(self):
response = test_utils.mount_device("ROADMA01", ('roadma', self.NODE_VERSION))
def test_01_rdm_device_connection(self):
response = test_utils.mount_device("ROADMA01", ('roadma', self.NODE_VERSION))
print("all processes killed")
def setUp(self):
print("all processes killed")
def setUp(self):
# Connect the ROADMA
def test_01_connect_rdm(self):
# Connect the ROADMA
def test_01_connect_rdm(self):
print("all processes killed")
def setUp(self):
print("all processes killed")
def setUp(self):
def test_01_connect_ROADMA(self):
response = test_utils.mount_device("ROADMA01", ('roadma', self.NODE_VERSION))
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]))
def setUp(self):
# pylint: disable=consider-using-f-string
print("execution of {}".format(self.id().split(".")[-1]))
def test_01_rdm_device_connected(self):
response = test_utils.mount_device("ROADMA01", ('roadma', self.NODE_VERSION))
def test_01_rdm_device_connected(self):
response = test_utils.mount_device("ROADMA01", ('roadma', self.NODE_VERSION))
print("all processes killed")
def setUp(self):
print("all processes killed")
def setUp(self):
# Connect the ROADMA
def test_01_connect_rdm(self):
# Connect the ROADMA
def test_01_connect_rdm(self):
print("all processes killed")
def setUp(self):
print("all processes killed")
def setUp(self):
def test_01_connect_ROADM_A1(self):
response = test_utils.mount_device("ROADM-A1", ('roadma', self.NODE_VERSION))
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):
print("all processes killed")
def setUp(self):
def test_01_connect_SPDR_SA1(self):
response = test_utils.mount_device("SPDR-SA1", ('spdra', self.NODE_VERSION))
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]))
def setUp(self):
# pylint: disable=consider-using-f-string
print("execution of {}".format(self.id().split(".")[-1]))
def test_01_rdm_device_connection(self):
response = test_utils.mount_device("ROADM-D1", ('roadmd', self.NODE_VERSION))
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):
print("all processes killed")
def setUp(self):
def test_01_connect_SPDR_SA1(self):
response = test_utils.mount_device("SPDR-SA1", ('spdra', self.NODE_VERSION))
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):
print("all processes killed")
def setUp(self):
def test_01_connect_SPDR_SA1(self):
response = test_utils.mount_device("SPDR-SA1", ('spdra', self.NODE_VERSION))
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'])
self.assertEqual(response['status_code'], requests.codes.ok)
self.assertIn('Operation Successful',
response['output']['configuration-response-common']['response-message'])
# Test OCH-OTU interfaces on SPDR-A1
def test_04_check_interface_och(self):
# 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'])
self.assertEqual(response['status_code'], requests.codes.ok)
self.assertIn('Operation Successful',
response['output']['configuration-response-common']['response-message'])
# Test ODU4 interfaces on SPDR-A1 and SPDR-C1
def test_09_check_interface_ODU4(self):
# 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'])
self.assertEqual(response['status_code'], requests.codes.ok)
self.assertIn('Operation Successful',
response['output']['configuration-response-common']['response-message'])
# Test the interfaces on SPDR-A1
def test_12_check_interface_10GE_CLIENT(self):
# Test the interfaces on SPDR-A1
def test_12_check_interface_10GE_CLIENT(self):
print("all processes killed")
def setUp(self):
print("all processes killed")
def setUp(self):
def test_01_connect_spdrA(self):
response = test_utils.mount_device("SPDR-SA1", ('spdra', self.NODE_VERSION))
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]))
def setUp(self):
# pylint: disable=consider-using-f-string
print("execution of {}".format(self.id().split(".")[-1]))
def test_01_xpdr_device_connection(self):
response = test_utils.mount_device("XPDR-A2",
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]))
def setUp(self):
# pylint: disable=consider-using-f-string
print("execution of {}".format(self.id().split(".")[-1]))
def test_01_xpdr_device_connection(self):
response = test_utils.mount_device("XPDR-A2",
def test_01_xpdr_device_connection(self):
response = test_utils.mount_device("XPDR-A2",
print("all processes killed")
def setUp(self):
print("all processes killed")
def setUp(self):
def test_01_connect_spdrA(self):
print("Connecting SPDRA")
def test_01_connect_spdrA(self):
print("Connecting SPDRA")