From 9b5f81f01d9713486fc61f1826a983898c27790c Mon Sep 17 00:00:00 2001 From: "guillaume.lambert" Date: Tue, 5 Sep 2023 12:01:22 +0200 Subject: [PATCH] Clean some functional tests comments & logs Signed-off-by: guillaume.lambert Change-Id: I5ad8ab534f21244b7331358ee2e8f4b1b64f3302 --- tests/transportpce_tests/1.2.1/test02_topo_portmapping.py | 1 - tests/transportpce_tests/1.2.1/test05_olm.py | 2 +- tests/transportpce_tests/2.2.1/test02_topo_portmapping.py | 1 - tests/transportpce_tests/2.2.1/test09_olm.py | 2 +- 4 files changed, 2 insertions(+), 4 deletions(-) diff --git a/tests/transportpce_tests/1.2.1/test02_topo_portmapping.py b/tests/transportpce_tests/1.2.1/test02_topo_portmapping.py index d409cfa60..84c4650ad 100644 --- a/tests/transportpce_tests/1.2.1/test02_topo_portmapping.py +++ b/tests/transportpce_tests/1.2.1/test02_topo_portmapping.py @@ -86,5 +86,4 @@ class TransportPCEtesting(unittest.TestCase): if __name__ == "__main__": # logging.basicConfig(filename='./transportpce_tests/log/response.log',filemode='w',level=logging.DEBUG) - #logging.debug('I am there') unittest.main(verbosity=2) diff --git a/tests/transportpce_tests/1.2.1/test05_olm.py b/tests/transportpce_tests/1.2.1/test05_olm.py index 55b05a419..ba0f8f1f5 100644 --- a/tests/transportpce_tests/1.2.1/test05_olm.py +++ b/tests/transportpce_tests/1.2.1/test05_olm.py @@ -482,7 +482,7 @@ class TransportOlmTesting(unittest.TestCase): self.assertIn('Request processed', response['output']['result']) time.sleep(10) - #"""to test case where SRG where the xpdr is connected to has no optical range data""" + # """to test case where SRG where the xpdr is connected to has no optical range data""" def test_31_connect_xprdA_to_roadmA(self): response = test_utils.transportpce_api_rpc_request( diff --git a/tests/transportpce_tests/2.2.1/test02_topo_portmapping.py b/tests/transportpce_tests/2.2.1/test02_topo_portmapping.py index 20b7bc127..625b3c981 100644 --- a/tests/transportpce_tests/2.2.1/test02_topo_portmapping.py +++ b/tests/transportpce_tests/2.2.1/test02_topo_portmapping.py @@ -98,5 +98,4 @@ class TransportPCEtesting(unittest.TestCase): if __name__ == "__main__": # logging.basicConfig(filename='./transportpce_tests/log/response.log',filemode='w',level=logging.DEBUG) - #logging.debug('I am there') unittest.main(verbosity=2) diff --git a/tests/transportpce_tests/2.2.1/test09_olm.py b/tests/transportpce_tests/2.2.1/test09_olm.py index cf432d4b0..dc00e8739 100644 --- a/tests/transportpce_tests/2.2.1/test09_olm.py +++ b/tests/transportpce_tests/2.2.1/test09_olm.py @@ -467,7 +467,7 @@ class TransportOlmTesting(unittest.TestCase): self.assertIn('Request processed', response['output']['result']) time.sleep(10) - #"""to test case where SRG where the xpdr is connected to has no optical range data""" + # """to test case where SRG where the xpdr is connected to has no optical range data""" def test_31_connect_xprdA_to_roadmA(self): response = test_utils.transportpce_api_rpc_request( -- 2.36.6