summaryrefslogtreecommitdiff
path: root/tests/integration/models_services_test.py
diff options
context:
space:
mode:
authorJoffrey F <joffrey@docker.com>2017-01-25 15:28:43 -0800
committerJoffrey F <joffrey@docker.com>2017-01-25 15:28:43 -0800
commit3e5bb7b0e6ae6286451f8af8cc717bd995709c13 (patch)
treea7e081b153f0d0dfd80bedcb235bd8da7a0c0835 /tests/integration/models_services_test.py
parent39deace7c62e3ebfd1a69beb9ac78e6aa7038b57 (diff)
downloaddocker-py-1359-swarm-init.tar.gz
Fix Swarm model init to correctly pass arguments through to init_swarm1359-swarm-init
Signed-off-by: Joffrey F <joffrey@docker.com>
Diffstat (limited to 'tests/integration/models_services_test.py')
-rw-r--r--tests/integration/models_services_test.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/integration/models_services_test.py b/tests/integration/models_services_test.py
index a795df9..27979dd 100644
--- a/tests/integration/models_services_test.py
+++ b/tests/integration/models_services_test.py
@@ -11,7 +11,7 @@ class ServiceTest(unittest.TestCase):
def setUpClass(cls):
client = docker.from_env()
helpers.force_leave_swarm(client)
- client.swarm.init(listen_addr=helpers.swarm_listen_addr())
+ client.swarm.init('eth0', listen_addr=helpers.swarm_listen_addr())
@classmethod
def tearDownClass(cls):