Skip to content

Commit 783d2e3

Browse files
committed
fixed missing folders
1 parent 8d67e7c commit 783d2e3

File tree

4 files changed

+3
-0
lines changed

4 files changed

+3
-0
lines changed

tests/test_templating/module_statics/watever.txt

Whitespace-only changes.

tests/test_templating/static/watever.txt

Whitespace-only changes.

tests/test_templating/templates/watever.html

Whitespace-only changes.

tests/test_templating/test_module_templating.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,8 +69,11 @@ class ModuleTemplatingDefaults:
6969
)
7070
def test_module_templating_works(module, static_folder, template_folder):
7171
assert module.template_folder == template_folder
72+
7273
assert module.jinja_loader.searchpath[0] == os.path.join(
7374
module.root_path, template_folder
7475
)
76+
assert os.path.exists(module.jinja_loader.searchpath[0])
77+
assert os.path.exists(module.static_directory)
7578
assert module.static_directory == os.path.join(module.root_path, static_folder)
7679
assert static_folder in module.static_directory

0 commit comments

Comments
 (0)