Use docker-py 1.0.0

Signed-off-by: Zoltan Nagy <abesto@abesto.net>
This commit is contained in:
Zoltan Nagy 2015-02-20 17:18:51 +01:00
parent a7fe67e691
commit 8f38b28816
3 changed files with 3 additions and 3 deletions

View File

@ -1,5 +1,5 @@
PyYAML==3.10
docker-py==0.7.1
docker-py==1.0.0
dockerpty==0.3.2
docopt==0.6.1
requests==2.2.1

View File

@ -30,7 +30,7 @@ install_requires = [
'requests >= 2.2.1, < 3',
'texttable >= 0.8.1, < 0.9',
'websocket-client >= 0.11.0, < 1.0',
'docker-py >= 0.6.0, < 0.8',
'docker-py >= 1.0.0, < 1.1.0',
'dockerpty >= 0.3.2, < 0.4',
'six >= 1.3.0, < 2',
]

View File

@ -19,4 +19,4 @@ class DockerClientTestCase(unittest.TestCase):
with mock.patch.dict(os.environ):
os.environ['DOCKER_CLIENT_TIMEOUT'] = timeout = "300"
client = docker_client.docker_client()
self.assertEqual(client._timeout, int(timeout))
self.assertEqual(client.timeout, int(timeout))