def setUpClass(cls):
        copy_config('mands')
        os.mkdir('test-service')
        os.chdir('test-service')

        cls.docker_client = get_docker().client

        # delete any image if exists
        try:
            cls.docker_client.remove_image(cls.image_name, force=True)
        except:
            pass
Exemple #2
0
    def setUpClass(cls):
        copy_config('mands')
        os.mkdir('test-service')
        os.chdir('test-service')

        cls.docker_client = get_docker().client

        # delete any image if exists
        try:
            cls.docker_client.remove_image(cls.image_name, force=True)
        except:
            pass
 def setUp(self):
     self.docker = get_docker()
     copy_config('stackhut')
Exemple #4
0
 def setUp(self):
     self.docker = get_docker()
     copy_config('stackhut')