mirror of
https://github.com/enzet/map-machine.git
synced 2025-06-03 03:11:52 +02:00
Fix static analysis warnings.
This commit is contained in:
parent
999c3112bb
commit
d1e48e21df
2 changed files with 14 additions and 8 deletions
|
@ -147,7 +147,7 @@ def test_icon_2_extra() -> None:
|
|||
|
||||
def test_no_icon_1_extra() -> None:
|
||||
"""
|
||||
Tags that should be visualized with default main icon and single extra icon.
|
||||
Tags that should be visualized without main icon and with single extra icon.
|
||||
"""
|
||||
check_icon_set(
|
||||
{"access": "private"}, [], [[("lock_with_keyhole", EXTRA_COLOR)]]
|
||||
|
@ -166,9 +166,7 @@ def test_no_icon_2_extra() -> None:
|
|||
|
||||
|
||||
def test_icon_regex() -> None:
|
||||
"""
|
||||
Tags that should be visualized with default main icon and single extra icon.
|
||||
"""
|
||||
"""Check that simple regular expressions work properly."""
|
||||
check_icon_set(
|
||||
{"traffic_sign": "maxspeed", "maxspeed": "42"},
|
||||
[("circle_11", DEFAULT_COLOR), ("digit_4", WHITE), ("digit_2", WHITE)],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue