def test_build_does_not_pull(self):
    self.mock_client.build.return_value = [b'{"stream": "Successfully built 12345"}']
    service = Service('foo', client=self.mock_client, build={'context': '.'})
    service.build()
    assert (self.mock_client.build.call_count == 1)
    assert (not self.mock_client.build.call_args[1]['pull'])
def test_build_does_not_pull(self):
    self.mock_client.build.return_value = [b'{"stream": "Successfully built 12345"}']
    service = Service('foo', client=self.mock_client, build={'context': '.'})
    service.build()
    assert (self.mock_client.build.call_count == 1)
    assert (not self.mock_client.build.call_args[1]['pull'])