fix: exclude generic maps from coverage
This commit is contained in:
@@ -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])
|
||||
|
||||
Reference in New Issue
Block a user