MCPcopy Index your code
hub / github.com/python-websockets/websockets / setUp

Method setUp

tests/test_streams.py:7–8  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

5
6class StreamReaderTests(GeneratorTestCase):
7 def setUp(self):
8 self.reader = StreamReader()
9
10 def test_read_line(self):
11 self.reader.feed_data(b"spam\neggs\n")

Callers

nothing calls this directly

Calls 1

StreamReaderClass · 0.90

Tested by

no test coverage detected