connect() uses the path from the URI.
(self)
| 121 | ) |
| 122 | |
| 123 | def test_path(self): |
| 124 | """connect() uses the path from the URI.""" |
| 125 | client = ClientProtocol(parse_uri("wss://example.com/endpoint?test=1")) |
| 126 | request = client.connect() |
| 127 | |
| 128 | self.assertEqual(request.path, "/endpoint?test=1") |
| 129 | |
| 130 | def test_port(self): |
| 131 | """connect() uses the port from the URI or the default port.""" |
nothing calls this directly
no test coverage detected