mirror of https://github.com/docker/compose.git
Use docker-py 1.0.0
Signed-off-by: Zoltan Nagy <abesto@abesto.net>
This commit is contained in:
parent
a7fe67e691
commit
8f38b28816
|
@ -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
|
||||
|
|
2
setup.py
2
setup.py
|
@ -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',
|
||||
]
|
||||
|
|
|
@ -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))
|
||||
|
|
Loading…
Reference in New Issue