(self)
| 156 | parse_subprotocol(header) |
| 157 | |
| 158 | def test_validate_subprotocols(self): |
| 159 | for subprotocols in [[], ["sip"], ["v1.usp"], ["sip", "v1.usp"]]: |
| 160 | with self.subTest(subprotocols=subprotocols): |
| 161 | validate_subprotocols(subprotocols) |
| 162 | |
| 163 | def test_validate_subprotocols_invalid(self): |
| 164 | for subprotocols, exception in [ |
nothing calls this directly
no test coverage detected