コード例 #1
0
    def tearDownClass(self):
        for c in client.containers(all=True, quiet=True):
            if c['Id'] not in existing_containers:
                client.kill(c['Id'])
                client.remove_container(c['Id'])

        if not CURRENT_DISABLE_TIMEOUTS:
            del os.environ['DISABLE_TIMEOUTS']
コード例 #2
0
 def setUpClass(self):
     for c in client.containers(all=True, quiet=True):
         existing_containers.append(c['Id'])
     r.flushall()