Fix --timeout flag on restart, add tests for stop and restart
Signed-off-by: Aanand Prasad <aanand.prasad@gmail.com>
This commit is contained in:
parent
2cdde099fa
commit
2291fa2d45
2 changed files with 14 additions and 3 deletions
|
|
@ -126,8 +126,8 @@ class Container(object):
|
|||
def kill(self, **options):
|
||||
return self.client.kill(self.id, **options)
|
||||
|
||||
def restart(self):
|
||||
return self.client.restart(self.id)
|
||||
def restart(self, **options):
|
||||
return self.client.restart(self.id, **options)
|
||||
|
||||
def remove(self, **options):
|
||||
return self.client.remove_container(self.id, **options)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue