瀏覽代碼

update test for start trigger

Signed-off-by: aiordache <[email protected]>
aiordache 5 年之前
父節點
當前提交
a85d2bc64c
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      tests/integration/state_test.py

+ 1 - 1
tests/integration/state_test.py

@@ -375,7 +375,7 @@ class ServiceStateTest(DockerClientTestCase):
 
         assert [c.is_running for c in containers] == [False, True]
 
-        assert ('start', containers[0:1]) == web.convergence_plan()
+        assert ('start', containers) == web.convergence_plan()
 
     def test_trigger_recreate_with_config_change(self):
         web = self.create_service('web', command=["top"])