Issue #89: add test.

This commit is contained in:
Sergey Vartanov 2021-09-26 20:37:09 +03:00
parent 2f66e48397
commit 608a6bf95b

View file

@ -132,3 +132,19 @@ def test_no_icon_2_extra() -> None:
[("lock_with_keyhole", "#888888")],
],
)
def test_icon_regex() -> None:
"""
Tags that should be visualized with default main icon and single extra icon.
"""
icon = get_icon({"traffic_sign": "maxspeed", "maxspeed": "42"})
check_icon_set(
icon,
[
("circle_11", "#444444"),
("digit_4", "#FFFFFF"),
("digit_2", "#FFFFFF"),
],
[],
)