fix: exclude generic maps from coverage
CI / backend-and-migrations (push) Canceled after 0s
CI / astro-build (push) Canceled after 0s
CI / dependency-audit (push) Canceled after 0s
CI / compose-e2e (push) Canceled after 0s

This commit is contained in:
ik
2026-09-13 08:54:53 +07:00
parent 3547598d37
commit 392e1e534a
6 changed files with 15 additions and 7 deletions
+8
View File
@@ -50,6 +50,14 @@ def test_tackle_path_wins_over_fish_word_in_product_name() -> None:
assert items[0].entity_type == "tackle"
def test_generic_userguide_map_is_reference_not_waterbody_entity() -> None:
items = extract_media_candidates(
'<img src="/res/userguide/map.jpeg" alt="Bild: Gewässerkarte">',
source_page="https://rf4game.de/userguide/",
)
assert items[0].entity_type == "reference"
def test_manifest_merges_and_binary_store_is_content_addressed(tmp_path: Path) -> None:
item = extract_media_candidates('<img src="/bait/worm.png" alt="Bait worm">', source_page="https://example.test")[0]
first = merge_manifest(tmp_path / "manifest.json", [item])