浏览代码

Fix assertion that was always true

Signed-off-by: Jonathan Giannuzzi <[email protected]>
Jonathan Giannuzzi 9 年之前
父节点
当前提交
3c77db709f
共有 1 个文件被更改,包括 1 次插入1 次删除
  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 (
-            [mount['Destination'] for mount in new_container.get('Mounts')],
+            [mount['Destination'] for mount in new_container.get('Mounts')] ==
             ['/data']
         )
         assert new_container.get_mount('/data')['Source'] != host_path