Upgrade tests to use new Mounts in container inspect.

Signed-off-by: Daniel Nephin <dnephin@docker.com>
This commit is contained in:
Daniel Nephin 2015-10-02 19:04:39 -04:00 • committed by Joffrey F
commit 73de81b51c
5 changed files with 25 additions and 13 deletions

View file

@ -871,7 +871,7 @@ class CLITestCase(DockerClientTestCase):
self.dispatch(['up', '-d'], None)
container = self.project.containers(stopped=True)[0]
actual_host_path = container.get('Volumes')['/container-path']
actual_host_path = container.get_mount('/container-path')['Source']
components = actual_host_path.split('/')
assert components[-2:] == ['home-dir', 'my-volume']