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
@@ -23,12 +23,6 @@ def service_dir(monkeypatch: pytest.MonkeyPatch, tmp_path: Path) -> Path:
return tmp_path
def test_an_empty_config_yaml_takes_the_user_block(monkeypatch: pytest.MonkeyPatch, service_dir: Path) -> None:
(service_dir / config.filenames.config).write_text("")
monkeypatch.setattr(config, "services", {"EXAMPLE": {"region": "us"}})
assert launch.load_service_config("EXAMPLE") == {"region": "us"}
def test_a_user_block_matches_the_tag_in_any_case(monkeypatch: pytest.MonkeyPatch, service_dir: Path) -> None:
(service_dir / config.filenames.config).write_text("region: gb\nendpoints:\n api: a\n")
monkeypatch.setattr(config, "services", {"example": {"region": "us"}})