Ver código fonte

Merge pull request #3619 from jgiannuzzi/fix_tests

Fix assertion that was always true
Aanand Prasad 9 anos atrás
pai
commit
fe0654603c
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      tests/integration/service_test.py

+ 1 - 1
tests/integration/service_test.py

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