summaryrefslogtreecommitdiff
path: root/tests/unit
diff options
context:
space:
mode:
authorCorentin Henry <corentinhenry@gmail.com>2018-11-28 14:32:12 -0800
committerCorentin Henry <corentinhenry@gmail.com>2018-11-28 15:16:23 -0800
commit7b3b83dfdbb9f4270dcf54e1449645efc045dfd3 (patch)
tree67261c3663b12e12b87832d553fdf211a930b0dd /tests/unit
parent41c0eb7e804ef428da27509714df34d26a56b9a6 (diff)
downloaddocker-py-7b3b83dfdbb9f4270dcf54e1449645efc045dfd3.tar.gz
fix exec api inconsistency
Signed-off-by: Corentin Henry <corentinhenry@gmail.com>
Diffstat (limited to 'tests/unit')
-rw-r--r--tests/unit/api_test.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/unit/api_test.py b/tests/unit/api_test.py
index 0f5ad7c..fac314d 100644
--- a/tests/unit/api_test.py
+++ b/tests/unit/api_test.py
@@ -574,7 +574,7 @@ class TCPSocketStreamTest(unittest.TestCase):
def test_read_from_socket_6(self):
res = self.request(stream=False, tty=True, demux=True)
- assert res == (self.stdout_data + self.stderr_data, b'')
+ assert res == (self.stdout_data + self.stderr_data, None)
def test_read_from_socket_7(self):
res = self.request(stream=False, tty=False, demux=False)