summaryrefslogtreecommitdiffstats
path: root/test/test_oc_interfaces.py
diff options
context:
space:
mode:
authorAndrej Kozemcak <andrej.kozemcak@pantheon.tech>2019-05-31 08:52:45 +0200
committerAndrej Kozemcak <andrej.kozemcak@pantheon.tech>2019-06-03 10:01:30 +0200
commit024a13ac0d2e25dec620003e2538acb4598598fd (patch)
treeee37343786a8824913e59a0cbd00d09e1fa74aa3 /test/test_oc_interfaces.py
parente77922662052f0caec4129ee43ab9d176b806769 (diff)
[TEST] - Init log
- init log - clean output Change-Id: Ia4f722eb5c989df8d2f5f14f602ed30657db9975 Signed-off-by: Andrej Kozemcak <andrej.kozemcak@pantheon.tech>
Diffstat (limited to 'test/test_oc_interfaces.py')
-rw-r--r--test/test_oc_interfaces.py10
1 files changed, 10 insertions, 0 deletions
diff --git a/test/test_oc_interfaces.py b/test/test_oc_interfaces.py
index be87eed..82168f5 100644
--- a/test/test_oc_interfaces.py
+++ b/test/test_oc_interfaces.py
@@ -39,6 +39,9 @@ class TestOcInterfaces(SweetcombTestCase):
self.topology.close_topology()
def test_interface(self):
+
+ self.logger.info("OC_INTERFACE_START_001")
+
name = "host-vpp1"
crud_service = CRUDService()
@@ -67,8 +70,13 @@ class TestOcInterfaces(SweetcombTestCase):
self.assertIsNotNone(p)
self.assertEquals(interface.config.enabled, p.State)
+ self.logger.info("OC_INTERFACE_FINISH_001")
+
@unittest.skip("YDK return error when try set IP address")
def test_interface_ipv4(self):
+
+ self.logger.info("OC_INTERFACE_START_002")
+
name = "host-vpp1"
crud_service = CRUDService()
@@ -94,5 +102,7 @@ class TestOcInterfaces(SweetcombTestCase):
a = self.vppctl.show_address(name)
+ self.logger.info("OC_INTERFACE_FINISH_002")
+
if __name__ == '__main__':
unittest.main(testRunner=SweetcombTestRunner)