Fix lookup of linked containers for API version 1.20
Signed-off-by: Daniel Nephin <dnephin@docker.com>
This commit is contained in:
parent
97fe2ee40c
commit
4bf2f8c4f9
6 changed files with 26 additions and 22 deletions
|
|
@ -340,7 +340,6 @@ class ProjectTest(DockerClientTestCase):
|
|||
|
||||
db_container = [c for c in project.containers() if 'db' in c.name][0]
|
||||
self.assertEqual(db_container.id, old_db_id)
|
||||
mount, = db_container.get('Mounts')
|
||||
self.assertEqual(
|
||||
db_container.get_mount('/var/db')['Source'],
|
||||
db_volume_path)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue