Update unit tests for stream_output to match the behaviour of a docker-py response.

Signed-off-by: Daniel Nephin <dnephin@gmail.com>
This commit is contained in:
Daniel Nephin 2015-08-24 13:16:13 -04:00
commit 71ff872e8e
8 changed files with 29 additions and 21 deletions

View file

@ -280,7 +280,7 @@ class ServiceTest(unittest.TestCase):
def test_build_does_not_pull(self):
self.mock_client.build.return_value = [
'{"stream": "Successfully built 12345"}',
b'{"stream": "Successfully built 12345"}',
]
service = Service('foo', client=self.mock_client, build='.')