This commit is contained in:
Joffrey F 2014-08-22 17:08:57 +02:00
parent 5800c4ab06
commit 9999cb0663
1 changed files with 3 additions and 1 deletions

View File

@ -1319,7 +1319,9 @@ class DockerClientTest(Cleanup, unittest.TestCase):
try:
with mock.patch('docker.auth.auth.resolve_authconfig',
fake_resolve_authconfig):
self.client.push(fake_api.FAKE_IMAGE_NAME, tag=fake_api.FAKE_TAG_NAME)
self.client.push(
fake_api.FAKE_IMAGE_NAME, tag=fake_api.FAKE_TAG_NAME
)
except Exception as e:
self.fail('Command should not raise exception: {0}'.format(e))