Add link alias without project name
REDIS_1_PORT_6379_TCP_ADDR instead of FIGTEST_REDIS_1_PORT_6379_TCP_ADDR. Ref #37
This commit is contained in:
parent
1bab14213d
commit
3e7e6e7656
4 changed files with 16 additions and 10 deletions
|
|
@ -154,6 +154,7 @@ class ServiceTest(DockerClientTestCase):
|
|||
db.start_container()
|
||||
web.start_container()
|
||||
self.assertIn('figtest_db_1', web.containers()[0].links())
|
||||
self.assertIn('db_1', web.containers()[0].links())
|
||||
db.stop(timeout=1)
|
||||
web.stop(timeout=1)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue