From: edmaas Date: Tue, 15 Nov 2016 11:43:28 +0000 (+0100) Subject: activated a unittest and removed some unused imported modules in the test X-Git-Tag: v3.1~52^2~6 X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=6db341ed9faa4b825da7aba3b87ab9d5dc10232b;p=osm%2Fvim-emu.git activated a unittest and removed some unused imported modules in the test --- diff --git a/src/emuvim/test/unittests/test_sonata_dummy_gatekeeper.py b/src/emuvim/test/unittests/test_sonata_dummy_gatekeeper.py index 2e01d92..4b9df14 100755 --- a/src/emuvim/test/unittests/test_sonata_dummy_gatekeeper.py +++ b/src/emuvim/test/unittests/test_sonata_dummy_gatekeeper.py @@ -89,13 +89,12 @@ class testSonataDummyGatekeeper(SimpleTestTopology): # check connectivity by using ping for vnf in self.dc[0].listCompute(): p = self.net.ping([self.h[0], vnf]) - print p -# self.assertTrue(p <= 50.0) + self.assertTrue(p <= 50.0) # stop Mininet network self.stopNet() initialize_GK() - +# @unittest.skip("disabled") def test_GK_Api_stop_service(self): # create network self.createNet(ndatacenter=2, nhosts=2)