Remove Service.start_or_create_containers()
It's only used in a single test method. Signed-off-by: Aanand Prasad <aanand.prasad@gmail.com>
This commit is contained in:
parent
417e6ce0c9
commit
db2d02dc0b
2 changed files with 2 additions and 17 deletions
|
|
@ -501,10 +501,10 @@ class ServiceTest(DockerClientTestCase):
|
|||
],
|
||||
})
|
||||
|
||||
def test_start_with_image_id(self):
|
||||
def test_create_with_image_id(self):
|
||||
# Image id for the current busybox:latest
|
||||
service = self.create_service('foo', image='8c2e06607696')
|
||||
self.assertTrue(service.start_or_create_containers())
|
||||
service.create_container()
|
||||
|
||||
def test_scale(self):
|
||||
service = self.create_service('web')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue