mirror of https://github.com/docker/docker-py.git
Fix broken test due to BUSYBOX -> TEST_IMG rename
The BUSYBOX variable was renamed to TEST_IMG in54b48a9b7a, however0ddf428b6cgot merged after that change, but was out of date, and therefore caused the tests to fail: ``` =================================== FAILURES =================================== ________ ServiceTest.test_create_service_with_network_attachment_config ________ tests/integration/api_service_test.py:379: in test_create_service_with_network_attachment_config container_spec = docker.types.ContainerSpec(BUSYBOX, ['true']) E NameError: global name 'BUSYBOX' is not defined ``` Fix the test by using the correct variable name. Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
parent
7c8264ce96
commit
bc89de6047
|
|
@ -376,7 +376,7 @@ class ServiceTest(BaseAPIIntegrationTest):
|
|||
'dockerpytest_1', driver='overlay', ipam={'Driver': 'default'}
|
||||
)
|
||||
self.tmp_networks.append(network['Id'])
|
||||
container_spec = docker.types.ContainerSpec(BUSYBOX, ['true'])
|
||||
container_spec = docker.types.ContainerSpec(TEST_IMG, ['true'])
|
||||
network_config = docker.types.NetworkAttachmentConfig(
|
||||
target='dockerpytest_1',
|
||||
aliases=['dockerpytest_1_alias'],
|
||||
|
|
|
|||
Loading…
Reference in New Issue