Skip to content

Commit 7e3cdfb

Browse files
committed
Fixed regression test in py3 environments
Signed-off-by: Joffrey F <[email protected]>
1 parent 9372ef2 commit 7e3cdfb

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

tests/integration_test.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1626,4 +1626,7 @@ def test_715(self):
16261626
ctnr = self.client.create_container('busybox', ['id', '-u'], user=1000)
16271627
self.client.start(ctnr)
16281628
self.client.wait(ctnr)
1629-
assert self.client.logs(ctnr) == '1000\n'
1629+
logs = self.client.logs(ctnr)
1630+
if six.PY3:
1631+
logs = logs.decode('utf-8')
1632+
assert logs == '1000\n'

0 commit comments

Comments
 (0)