Mirror test layout, domcontentloaded waits, backup DB writes outside threads
This commit is contained in:
@@ -0,0 +1,34 @@
|
||||
# retoor <retoor@molodetz.nl>
|
||||
from molodetz import gates
|
||||
|
||||
|
||||
def test_gate_1_template_environment_only_in_templating():
|
||||
assert gates.gate_template_environment() == set()
|
||||
|
||||
|
||||
def test_gate_2_breakpoints_closed_set():
|
||||
assert gates.gate_breakpoints() == gates.BREAKPOINTS
|
||||
|
||||
|
||||
def test_gate_3_http_client_allowlist():
|
||||
assert gates.gate_http_clients() == gates.HTTP_CLIENT_ALLOWLIST
|
||||
|
||||
|
||||
def test_gate_4_client_render_allowlist():
|
||||
assert gates.gate_client_render_templates() == gates.CLIENT_RENDER_ALLOWLIST
|
||||
|
||||
|
||||
def test_gate_5_no_bare_static():
|
||||
assert gates.gate_bare_static() == []
|
||||
|
||||
|
||||
def test_gate_6_no_manual_loading_toggles():
|
||||
assert gates.gate_loading_toggles() == []
|
||||
|
||||
|
||||
def test_no_em_dashes():
|
||||
assert gates.gate_em_dashes() == []
|
||||
|
||||
|
||||
def test_json_error_status_first():
|
||||
assert gates.gate_json_error_order() == []
|
||||
Reference in New Issue
Block a user