Bump docker SDK dependency

Update invalid ports test

Signed-off-by: Joffrey F <joffrey@docker.com>
This commit is contained in:
Joffrey F 2017-03-21 12:39:32 -07:00
parent 402b0157d4
commit 48831a8d5f
3 changed files with 4 additions and 3 deletions

View File

@ -2,7 +2,7 @@ PyYAML==3.11
backports.ssl-match-hostname==3.5.0.1; python_version < '3' backports.ssl-match-hostname==3.5.0.1; python_version < '3'
cached-property==1.2.0 cached-property==1.2.0
colorama==0.3.7 colorama==0.3.7
docker==2.1.0 docker==2.2.1
dockerpty==0.4.1 dockerpty==0.4.1
docopt==0.6.1 docopt==0.6.1
enum34==1.0.4; python_version < '3.4' enum34==1.0.4; python_version < '3.4'

View File

@ -37,7 +37,7 @@ install_requires = [
'requests >= 2.6.1, != 2.11.0, < 2.12', 'requests >= 2.6.1, != 2.11.0, < 2.12',
'texttable >= 0.8.1, < 0.9', 'texttable >= 0.8.1, < 0.9',
'websocket-client >= 0.32.0, < 1.0', 'websocket-client >= 0.32.0, < 1.0',
'docker >= 2.1.0, < 3.0', 'docker >= 2.2.1, < 3.0',
'dockerpty >= 0.4.1, < 0.5', 'dockerpty >= 0.4.1, < 0.5',
'six >= 1.3.0, < 2', 'six >= 1.3.0, < 2',
'jsonschema >= 2.5.1, < 3', 'jsonschema >= 2.5.1, < 3',

View File

@ -2249,7 +2249,8 @@ class PortsTest(unittest.TestCase):
] ]
INVALID_PORT_MAPPINGS = [ INVALID_PORT_MAPPINGS = [
["8000-8001:8000"], ["8000-8004:8000-8002"],
["4242:4242-4244"],
] ]
VALID_SINGLE_PORTS = [ VALID_SINGLE_PORTS = [