mirror of https://github.com/docker/compose.git
Fix tests when there is an image with int tag
This commit is contained in:
parent
4a6897ef3b
commit
5d4210ceb3
|
@ -18,7 +18,7 @@ class DockerClientTestCase(unittest.TestCase):
|
|||
self.client.kill(c['Id'])
|
||||
self.client.remove_container(c['Id'])
|
||||
for i in self.client.images():
|
||||
if 'figtest' in i['Tag']:
|
||||
if isinstance(i['Tag'], basestring) and 'figtest' in i['Tag']:
|
||||
self.client.remove_image(i)
|
||||
|
||||
def create_service(self, name, **kwargs):
|
||||
|
|
Loading…
Reference in New Issue