mirror of https://github.com/docker/compose.git
Fix links related test
This commit is contained in:
parent
c709251f21
commit
e38e866626
|
@ -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…
Reference in New Issue