File tree Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Original file line number Diff line number Diff line change 25
25
import docker
26
26
import six
27
27
28
- from tests . test import Cleanup
28
+ from test import Cleanup
29
29
30
30
# FIXME: missing tests for
31
31
# export; history; import_image; insert; port; push; tag; get; load
@@ -426,7 +426,7 @@ def runTest(self):
426
426
id = container ['Id' ]
427
427
self .client .start (id )
428
428
self .tmp_containers .append (id )
429
- self .client .kill (id , signal = signal .SIGTERM )
429
+ self .client .kill (id , signal = signal .SIGKILL )
430
430
exitcode = self .client .wait (id )
431
431
self .assertNotEqual (exitcode , 0 )
432
432
container_info = self .client .inspect_container (id )
@@ -618,10 +618,8 @@ def runTest(self):
618
618
container = self .client .create_container ('busybox' , ['false' ])
619
619
id = container ['Id' ]
620
620
self .client .start (id , restart_policy = {
621
- {
622
- "Name" : "on-failure" ,
623
- "MaximumRetryCount" : 1
624
- }
621
+ "Name" : "on-failure" ,
622
+ "MaximumRetryCount" : 1
625
623
})
626
624
self .client .wait (id )
627
625
self .client .remove_container (id )
You can’t perform that action at this time.
0 commit comments