MCPcopy Index your code
hub / github.com/docker/docker-py / test_read_from_socket_tty

Method test_read_from_socket_tty

tests/unit/api_test.py:548–552  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

546 resp, stream=stream, tty=tty, demux=demux)
547
548 def test_read_from_socket_tty(self):
549 res = self.request(stream=True, tty=True, demux=False)
550 assert next(res) == self.stdout_data + self.stderr_data
551 with self.assertRaises(StopIteration):
552 next(res)
553
554 def test_read_from_socket_tty_demux(self):
555 res = self.request(stream=True, tty=True, demux=True)

Callers

nothing calls this directly

Calls 1

requestMethod · 0.95

Tested by

no test coverage detected