mirror of
https://github.com/dtomlinson91/tembo.git
synced 2025-12-22 07:45:44 +00:00
adding latest tests
This commit is contained in:
@@ -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
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user