def test_containers(self):
    service = Service('db', self.mock_client, 'myproject', image='foo')
    self.mock_client.containers.return_value = []
    assert (list(service.containers()) == [])
def test_containers(self):
    service = Service('db', self.mock_client, 'myproject', image='foo')
    self.mock_client.containers.return_value = []
    assert (list(service.containers()) == [])