test: delete slow, timing-based and redundant tests

This commit is contained in:
imSp4rky
2026-12-05 15:20:05 -07:00
parent 783a2fc185
commit 3a0a74e694
292 changed files with 153 additions and 15174 deletions
-6
View File
@@ -63,12 +63,6 @@ def test_the_server_proxy_stamp_comes_from_the_key_policy(server):
assert admit({"server_proxy": True}).params["server_proxy"] is False
def test_the_parameter_check_leaves_the_request_body_as_it_is(server):
body = {"output_dir": "shows"}
assert job_admission.check_parameters(body)["output_dir"] == str((server / "shows").resolve())
assert body == {"output_dir": "shows"}
def test_a_profile_that_names_a_path_is_invalid_parameters(server):
with pytest.raises(APIError) as ei:
admit({"profile": "../x"})