mirror of https://github.com/docker/compose.git
Fix assertion that was always true
Signed-off-by: Jonathan Giannuzzi <jonathan@giannuzzi.be>
This commit is contained in:
parent
6021237a69
commit
dbf40d8244
|
@ -397,7 +397,7 @@ class ServiceTest(DockerClientTestCase):
|
||||||
|
|
||||||
assert not mock_log.warn.called
|
assert not mock_log.warn.called
|
||||||
assert (
|
assert (
|
||||||
[mount['Destination'] for mount in new_container.get('Mounts')],
|
[mount['Destination'] for mount in new_container.get('Mounts')] ==
|
||||||
['/data']
|
['/data']
|
||||||
)
|
)
|
||||||
assert new_container.get_mount('/data')['Source'] != host_path
|
assert new_container.get_mount('/data')['Source'] != host_path
|
||||||
|
|
Loading…
Reference in New Issue