Home
last modified time | relevance | path

Searched refs:_validate_header (Results 1 – 1 of 1) sorted by relevance

/external/chromium-trace/catapult/telemetry/third_party/websocket-client/websocket/tests/
Dtest_websocket.py16 _validate as _validate_header unknown
193 self.assertEqual(_validate_header(required_header, key, None), (True, None))
197 self.assertEqual(_validate_header(header, key, None), (False, None))
199 self.assertEqual(_validate_header(header, key, None), (False, None))
203 self.assertEqual(_validate_header(header, key, None), (False, None))
205 self.assertEqual(_validate_header(header, key, None), (False, None))
209 self.assertEqual(_validate_header(header, key, None), (False, None))
211 self.assertEqual(_validate_header(header, key, None), (False, None))
215 self.assertEqual(_validate_header(header, key, ["sub1", "sub2"]), (True, "sub1"))
216 self.assertEqual(_validate_header(header, key, ["sub2", "sub3"]), (False, None))
[all …]