File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -108,7 +108,7 @@ class TestListContainers(BaseTestCase):
108
108
def runTest (self ):
109
109
res0 = self .client .containers (all = True )
110
110
size = len (res0 )
111
- res1 = self .client .create_container ('busybox:latest' , 'true; ' )
111
+ res1 = self .client .create_container ('busybox:latest' , 'true' )
112
112
self .assertIn ('Id' , res1 )
113
113
self .client .start (res1 ['Id' ])
114
114
self .tmp_containers .append (res1 ['Id' ])
@@ -118,7 +118,7 @@ def runTest(self):
118
118
self .assertEqual (len (retrieved ), 1 )
119
119
retrieved = retrieved [0 ]
120
120
self .assertIn ('Command' , retrieved )
121
- self .assertEqual (retrieved ['Command' ], u'true; ' )
121
+ self .assertEqual (retrieved ['Command' ], u'true' )
122
122
self .assertIn ('Image' , retrieved )
123
123
self .assertRegexpMatches (retrieved ['Image' ], r'busybox:.*' )
124
124
self .assertIn ('Status' , retrieved )
You can’t perform that action at this time.
0 commit comments