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:
parent
7e4c3142d7
commit
71ff872e8e
8 changed files with 29 additions and 21 deletions
|
|
@ -710,6 +710,8 @@ class Service(object):
|
|||
log.info('Building %s...' % self.name)
|
||||
|
||||
path = self.options['build']
|
||||
# python2 os.path() doesn't support unicode, so we need to encode it to
|
||||
# a byte string
|
||||
if not six.PY3:
|
||||
path = path.encode('utf8')
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue