Skip to content

Commit b5e75c4

Browse files
committed
fix ListContainers which was failing with "executable true; not found"
1 parent 9170219 commit b5e75c4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/integration_test.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ class TestListContainers(BaseTestCase):
108108
def runTest(self):
109109
res0 = self.client.containers(all=True)
110110
size = len(res0)
111-
res1 = self.client.create_container('busybox:latest', 'true;')
111+
res1 = self.client.create_container('busybox:latest', 'true')
112112
self.assertIn('Id', res1)
113113
self.client.start(res1['Id'])
114114
self.tmp_containers.append(res1['Id'])
@@ -118,7 +118,7 @@ def runTest(self):
118118
self.assertEqual(len(retrieved), 1)
119119
retrieved = retrieved[0]
120120
self.assertIn('Command', retrieved)
121-
self.assertEqual(retrieved['Command'], u'true;')
121+
self.assertEqual(retrieved['Command'], u'true')
122122
self.assertIn('Image', retrieved)
123123
self.assertRegexpMatches(retrieved['Image'], r'busybox:.*')
124124
self.assertIn('Status', retrieved)

0 commit comments

Comments
 (0)