File tree Expand file tree Collapse file tree 4 files changed +10
-11
lines changed Expand file tree Collapse file tree 4 files changed +10
-11
lines changed Original file line number Diff line number Diff line change 1- TEST_API_VERSION ?= 1.44
2- TEST_ENGINE_VERSION ?= 25.0
1+ TEST_API_VERSION ?= 1.45
2+ TEST_ENGINE_VERSION ?= 26.1
33
44ifeq ($(OS ) ,Windows_NT)
55 PLATFORM := Windows
Original file line number Diff line number Diff line change 22
33from .version import __version__
44
5- DEFAULT_DOCKER_API_VERSION = '1.44 '
5+ DEFAULT_DOCKER_API_VERSION = '1.45 '
66MINIMUM_DOCKER_API_VERSION = '1.24'
77DEFAULT_TIMEOUT_SECONDS = 60
88STREAM_HEADER_SIZE_BYTES = 8
Original file line number Diff line number Diff line change 11# syntax=docker/dockerfile:1
22
3- ARG API_VERSION=1.44
4- ARG ENGINE_VERSION=25.0
3+ ARG API_VERSION=1.45
4+ ARG ENGINE_VERSION=26.1
55
66FROM docker:${ENGINE_VERSION}-dind
77
Original file line number Diff line number Diff line change @@ -131,10 +131,9 @@ def test_run_with_networking_config(self):
131131 assert 'NetworkSettings' in attrs
132132 assert 'Networks' in attrs ['NetworkSettings' ]
133133 assert list (attrs ['NetworkSettings' ]['Networks' ].keys ()) == [net_name ]
134- # Expect Aliases to list 'test_alias' and the container's short-id.
135- # In API version 1.45, the short-id will be removed.
134+ # Aliases no longer include the container's short-id in API v1.45.
136135 assert attrs ['NetworkSettings' ]['Networks' ][net_name ]['Aliases' ] \
137- == [test_alias , attrs [ 'Id' ][: 12 ] ]
136+ == [test_alias ]
138137 assert attrs ['NetworkSettings' ]['Networks' ][net_name ]['DriverOpts' ] \
139138 == test_driver_opt
140139
@@ -191,9 +190,9 @@ def test_run_with_networking_config_only_undeclared_network(self):
191190 assert 'NetworkSettings' in attrs
192191 assert 'Networks' in attrs ['NetworkSettings' ]
193192 assert list (attrs ['NetworkSettings' ]['Networks' ].keys ()) == [net_name ]
194- # Aliases should include the container's short-id (but it will be removed
195- # in API v1.45).
196- assert attrs [ 'NetworkSettings' ][ 'Networks' ][ net_name ][ 'Aliases' ] == [ attrs [ "Id" ][: 12 ]]
193+ # Aliases no longer include the container's short-id in API v1.45.
194+ assert ( attrs [ 'NetworkSettings' ][ 'Networks' ][ net_name ][ 'Aliases' ]
195+ is None )
197196 assert (attrs ['NetworkSettings' ]['Networks' ][net_name ]['DriverOpts' ]
198197 is None )
199198
You can’t perform that action at this time.
0 commit comments