mirror of
https://github.com/enzet/map-machine.git
synced 2025-05-21 21:16:24 +02:00
Refactor text generation.
This commit is contained in:
parent
f317eba64b
commit
958a85fe0a
13 changed files with 129 additions and 126 deletions
|
@ -61,7 +61,7 @@ def test_icon_2_extra() -> None:
|
|||
|
||||
def __test_no_icon_1_extra() -> None:
|
||||
"""
|
||||
Tags that should be visualized with defult main icon and single extra icon.
|
||||
Tags that should be visualized with default main icon and single extra icon.
|
||||
"""
|
||||
icon = get_icon({"access": "private"})
|
||||
assert icon.main_icon[0].is_default()
|
||||
|
@ -70,7 +70,7 @@ def __test_no_icon_1_extra() -> None:
|
|||
|
||||
def __test_no_icon_2_extra() -> None:
|
||||
"""
|
||||
Tags that should be visualized with defult main icon and two extra icons.
|
||||
Tags that should be visualized with default main icon and two extra icons.
|
||||
"""
|
||||
icon = get_icon({"access": "private", "bicycle": "yes"})
|
||||
assert icon.main_icon[0].is_default()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue