adding latest tests

This commit is contained in:
2021-10-30 20:24:56 +01:00
parent a6ec5a9f35
commit 86ec115c9f
6 changed files with 94 additions and 48 deletions

View File

@@ -15,7 +15,7 @@ def test_page_creator_convert_to_path_missing_base_path(caplog):
# act
with pytest.raises(SystemExit) as system_exit:
PageCreator._convert_to_path(
PageCreator._convert_base_path_to_path(
base_path=base_path,
page_path=page_path,
filename=filename,
@@ -50,7 +50,7 @@ def test_page_creator_convert_to_path_full_path_to_file(
base_path = tmpdir
# act
converted_path = PageCreator._convert_to_path(
converted_path = PageCreator._convert_base_path_to_path(
base_path, page_path, filename, extension
)
@@ -67,7 +67,7 @@ def test_page_creator_convert_to_path_full_path_no_file(tmpdir):
extension = ""
# act
converted_path = PageCreator._convert_to_path(
converted_path = PageCreator._convert_base_path_to_path(
base_path, page_path, filename, extension
)