Fix links related test
This commit is contained in:
parent
c709251f21
commit
e38e866626
1 changed files with 1 additions and 1 deletions
|
|
@ -154,7 +154,7 @@ class ServiceTest(DockerClientTestCase):
|
||||||
|
|
||||||
def test_start_container_creates_links(self):
|
def test_start_container_creates_links(self):
|
||||||
db = self.create_service('db')
|
db = self.create_service('db')
|
||||||
web = self.create_service('web', links=[db])
|
web = self.create_service('web', links=[(db, None)])
|
||||||
db.start_container()
|
db.start_container()
|
||||||
web.start_container()
|
web.start_container()
|
||||||
self.assertIn('figtest_db_1', web.containers()[0].links())
|
self.assertIn('figtest_db_1', web.containers()[0].links())
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue