summaryrefslogtreecommitdiff
path: root/tests/integration/models_nodes_test.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/integration/models_nodes_test.py')
-rw-r--r--tests/integration/models_nodes_test.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/integration/models_nodes_test.py b/tests/integration/models_nodes_test.py
index 9fd1659..b3aba80 100644
--- a/tests/integration/models_nodes_test.py
+++ b/tests/integration/models_nodes_test.py
@@ -14,7 +14,7 @@ class NodesTest(unittest.TestCase):
def test_list_get_update(self):
client = docker.from_env()
- client.swarm.init(listen_addr=helpers.swarm_listen_addr())
+ client.swarm.init('eth0', listen_addr=helpers.swarm_listen_addr())
nodes = client.nodes.list()
assert len(nodes) == 1
assert nodes[0].attrs['Spec']['Role'] == 'manager'