Upgrade tests to use new Mounts in container inspect.
Signed-off-by: Daniel Nephin <dnephin@docker.com>
This commit is contained in:
parent
4017ea99fe
commit
73de81b51c
5 changed files with 25 additions and 13 deletions
|
|
@ -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']
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue