import os
import subprocess
import docker
+import time
from emuvim.dcemulator.net import DCNetwork
from emuvim.api.openstack.openstack_api_endpoint import OpenstackApiEndpoint
from mininet.clean import cleanup
def tearDown(self):
+ time.sleep(2)
print('->>>>>>> tear everything down ->>>>>>>>>>>>>>>')
self.stopApi() # stop all flask threads
self.stopNet() # stop some mininet and containernet stuff
stdout=devnull,
stderr=devnull,
shell=True)
+ time.sleep(2)
import unittest
import requests
import simplejson as json
+import time
from emuvim.test.api_base_openstack import ApiBaseOpenStack
# start api
self.startApi()
+ time.sleep(2)
# start Mininet network
self.startNet()
-
+ time.sleep(2)
+
@unittest.skip("temporarily disabled")
def testChainingDummy(self):
print('->>>>>>> test Chaining Class->>>>>>>>>>>>>>>')