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

Method setUp

tests/test_http11.py:11–13  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

9
10class RequestTests(GeneratorTestCase):
11 def setUp(self):
12 super().setUp()
13 self.reader = StreamReader()
14
15 def parse(self):
16 return Request.parse(self.reader.read_line)

Callers 2

setUpMethod · 0.45
setUpMethod · 0.45

Calls 1

StreamReaderClass · 0.90

Tested by

no test coverage detected