From 5b0cac515745102c1e3555da13b98c40baa2bd92 Mon Sep 17 00:00:00 2001 From: David Luevano Alvarado Date: Mon, 1 May 2023 06:58:27 -0600 Subject: add page class testing --- tests/test_configuration.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'tests/test_configuration.py') 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 -- cgit v1.2.3-54-g00ecf