mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Update CSS tests to revision 31d63cc79bd4c929ed582229e936d7b389f3e6ab
This commit is contained in:
parent
1a81b18b9f
commit
2c9faf5363
91915 changed files with 5979820 additions and 0 deletions
23
tests/wpt/css-tests/tools/sslutils/base.py
Normal file
23
tests/wpt/css-tests/tools/sslutils/base.py
Normal file
|
@ -0,0 +1,23 @@
|
|||
def get_logger(name="ssl"):
|
||||
logger = structured.get_default_logger(name)
|
||||
if logger is None:
|
||||
logger = structured.structuredlog.StructuredLogger(name)
|
||||
return logger
|
||||
|
||||
class NoSSLEnvironment(object):
|
||||
ssl_enabled = False
|
||||
|
||||
def __init__(self, *args, **kwargs):
|
||||
pass
|
||||
|
||||
def __enter__(self):
|
||||
return self
|
||||
|
||||
def __exit__(self, *args, **kwargs):
|
||||
pass
|
||||
|
||||
def host_cert_path(self, host):
|
||||
return None, None
|
||||
|
||||
def ca_cert_path(self):
|
||||
return None
|
Loading…
Add table
Add a link
Reference in a new issue