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:
Ben Firshman 2014-01-27 15:29:58 +00:00
commit 3e7e6e7656
4 changed files with 16 additions and 10 deletions

View file

@ -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)