예제 #1
0
 def setUp(self):
     super(DockerContainerTest, self).setUp()
     for res_name, res_class in docker_container.resource_mapping().items():
         resource._register_class(res_name, res_class)
     self.addCleanup(self.m.VerifyAll)
예제 #2
0
 def setUp(self):
     super(DockerContainerTest, self).setUp()
     for res_name, res_class in docker_container.resource_mapping().items():
         resource._register_class(res_name, res_class)