(self)
| 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) |