summaryrefslogtreecommitdiff
path: root/tests/test_configuration.py
diff options
context:
space:
mode:
authorDavid Luevano Alvarado <david@luevano.xyz>2023-05-01 06:58:27 -0600
committerDavid Luevano Alvarado <david@luevano.xyz>2023-05-01 06:58:27 -0600
commit5b0cac515745102c1e3555da13b98c40baa2bd92 (patch)
tree2cc9f03a10171a326d5dcad194e33fd843ef924f /tests/test_configuration.py
parent1b2d6aff6ccf72fdb292a1f05bb41bf9633a8f55 (diff)
add page class testing
Diffstat (limited to 'tests/test_configuration.py')
-rw-r--r--tests/test_configuration.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/test_configuration.py b/tests/test_configuration.py
index 36761eb..1b16441 100644
--- a/tests/test_configuration.py
+++ b/tests/test_configuration.py
@@ -24,11 +24,11 @@ def test_static_config(rss_date_fmt: str,
def test_default_config(sample_files_path: str,
default_yaml: str,
- default_config_dict: dict[str, Any]) -> None:
+ default_config: dict[str, Any]) -> None:
yaml_path: str = f'{sample_files_path}/config/{default_yaml}'
yaml: list[dict[str, Any]] = get_parsed_config(yaml_path)
assert len(yaml) == 1
- assert yaml[0] == default_config_dict
+ assert yaml[0] == default_config
def test_default_config_mising_mandatory_key(sample_files_path: str,
@@ -73,12 +73,12 @@ def test_default_config_root_dir(sample_files_path: str,
# this really just tests that both documents in the yaml file are read,
# both documents are the same (the default.yaml)
def test_multiple_default_config(sample_files_path: str,
- default_config_dict: dict[str, Any]) -> None:
+ default_config: dict[str, Any]) -> None:
yaml_path: str = f'{sample_files_path}/config/multiple_default.yaml'
yaml: list[dict[str, Any]] = get_parsed_config(yaml_path)
assert len(yaml) == 2
- assert yaml[0] == default_config_dict
- assert yaml[1] == default_config_dict
+ assert yaml[0] == default_config
+ assert yaml[1] == default_config
# also, this just tests that the checks for a well formed config file are