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 2525import docker
2626import six
2727
28- from tests . test import Cleanup
28+ from test import Cleanup
2929
3030# FIXME: missing tests for
3131# export; history; import_image; insert; port; push; tag; get; load
@@ -426,7 +426,7 @@ def runTest(self):
426426 id = container ['Id' ]
427427 self .client .start (id )
428428 self .tmp_containers .append (id )
429- self .client .kill (id , signal = signal .SIGTERM )
429+ self .client .kill (id , signal = signal .SIGKILL )
430430 exitcode = self .client .wait (id )
431431 self .assertNotEqual (exitcode , 0 )
432432 container_info = self .client .inspect_container (id )
@@ -618,10 +618,8 @@ def runTest(self):
618618 container = self .client .create_container ('busybox' , ['false' ])
619619 id = container ['Id' ]
620620 self .client .start (id , restart_policy = {
621- {
622- "Name" : "on-failure" ,
623- "MaximumRetryCount" : 1
624- }
621+ "Name" : "on-failure" ,
622+ "MaximumRetryCount" : 1
625623 })
626624 self .client .wait (id )
627625 self .client .remove_container (id )
You can’t perform that action at this time.
0 commit comments