summaryrefslogtreecommitdiff
path: root/tests/test_yaml_parser.py
diff options
context:
space:
mode:
authorDavid Luevano Alvarado <david@luevano.xyz>2023-02-24 03:53:13 -0600
committerDavid Luevano Alvarado <david@luevano.xyz>2023-02-24 03:53:13 -0600
commita609b1cb2b43fd17e03efa62314f679b47ae6cb5 (patch)
tree2c495cecb477e01766343fbdae2e8c7c84fc63db /tests/test_yaml_parser.py
parent28c2ae9102d4204b3f0a79419eec1e72dbbc529a (diff)
add utils tests, small refactor
Diffstat (limited to 'tests/test_yaml_parser.py')
-rw-r--r--tests/test_yaml_parser.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_yaml_parser.py b/tests/test_yaml_parser.py
index dd4c6d4..906c7e6 100644
--- a/tests/test_yaml_parser.py
+++ b/tests/test_yaml_parser.py
@@ -5,7 +5,7 @@ from pyssg.yaml_parser import get_parsed_yaml
# and test the join functionality
-def test_yaml_resource_read(simple_yaml:str, test_resource: str) -> None:
+def test_yaml_resource_read(simple_yaml: str, test_resource: str) -> None:
yaml: list[dict[str, Any]] = get_parsed_yaml(simple_yaml, test_resource)
assert len(yaml) == 1
@@ -16,7 +16,7 @@ def test_yaml_path_read(test_dir: str) -> None:
assert len(yaml) == 1
-def test_yaml_join(simple_yaml:str, test_resource: str) -> None:
+def test_yaml_join(simple_yaml: str, test_resource: str) -> None:
yaml: dict[str, Any] = get_parsed_yaml(simple_yaml, test_resource)[0]
define_str: str = '$PYSSG_HOME/pyssg/site_example/'
assert yaml['define'] == define_str