mirror of
https://github.com/docker/compose.git
synced 2025-04-08 17:05:13 +02:00
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…
x
Reference in New Issue
Block a user