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:
Aanand Prasad 2015-04-21 11:58:44 +01:00
commit 2291fa2d45
2 changed files with 14 additions and 3 deletions

View file

@ -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)