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:
Aanand Prasad 2015-06-08 10:58:11 -04:00
commit db2d02dc0b
2 changed files with 2 additions and 17 deletions

View file

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