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

Method test_read_from_socket_no_tty

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

Source from the content-addressed store, hash-verified

558 next(res)
559
560 def test_read_from_socket_no_tty(self):
561 res = self.request(stream=True, tty=False, demux=False)
562 assert next(res) == self.stdout_data
563 assert next(res) == self.stderr_data
564 with self.assertRaises(StopIteration):
565 next(res)
566
567 def test_read_from_socket_no_tty_demux(self):
568 res = self.request(stream=True, tty=False, demux=True)

Callers

nothing calls this directly

Calls 1

requestMethod · 0.95

Tested by

no test coverage detected