mirror of
https://github.com/enzet/map-machine.git
synced 2025-05-22 21:46:24 +02:00
Add icons and MapCSS integration tests.
This commit is contained in:
parent
d247508c73
commit
a3b194f53a
1 changed files with 17 additions and 0 deletions
|
@ -53,3 +53,20 @@ def test_render() -> None:
|
|||
assert len(root) == 4
|
||||
assert root.get("width") == "186.0"
|
||||
assert root.get("height") == "198.0"
|
||||
|
||||
|
||||
def test_icons() -> None:
|
||||
"""Test `icons` command."""
|
||||
run(
|
||||
["icons"],
|
||||
b"INFO Icon grid is written to out/icon_grid.svg.\n"
|
||||
b"INFO Icons are written to out/icons_by_name and out/icons_by_id.\n",
|
||||
)
|
||||
|
||||
|
||||
def test_mapcss() -> None:
|
||||
"""Test `mapcss` command."""
|
||||
run(
|
||||
["mapcss"],
|
||||
b"INFO MapCSS 0.2 scheme is written to out/map_machine_mapcss.\n",
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue