mirror of
https://github.com/enzet/map-machine.git
synced 2025-07-25 04:19:41 +02:00
Refactor verification test.
This commit is contained in:
parent
cdbcedc6ec
commit
2d86ff3b0d
1 changed files with 4 additions and 2 deletions
|
@ -4,7 +4,7 @@ from typing import Any
|
|||
from map_machine.scheme import Scheme
|
||||
|
||||
|
||||
def test_verification() -> None:
|
||||
def test_verification_right() -> None:
|
||||
"""Test verification process of tags in scheme."""
|
||||
|
||||
tags: dict[str, Any] = {
|
||||
|
@ -13,7 +13,9 @@ def test_verification() -> None:
|
|||
}
|
||||
assert Scheme(tags).node_matchers[0].verify() is True
|
||||
|
||||
# Tag value should be string, not integer.
|
||||
|
||||
def test_verification_wrong() -> None:
|
||||
"""Tag value should be string, not integer."""
|
||||
|
||||
tags: dict[str, Any] = {
|
||||
"colors": {"default": "#444444"},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue