Skip to content

Commit 8d67e7c

Browse files
committed
reverted test_routing folder
1 parent 8288478 commit 8d67e7c

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

tests/test_templating/test_module_templating.py

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -64,12 +64,13 @@ class ModuleTemplatingDefaults:
6464
[
6565
(SomeModule, "static", "views"),
6666
(ModuleTemplatingDefaults, "static", "templates"),
67-
(SomeModule2, "module_static", "templates"),
67+
(SomeModule2, "module_statics", "templates"),
6868
],
6969
)
7070
def test_module_templating_works(module, static_folder, template_folder):
7171
assert module.template_folder == template_folder
72-
assert os.path.exists(module.jinja_loader.searchpath[0])
73-
assert os.path.exists(module.static_directory)
72+
assert module.jinja_loader.searchpath[0] == os.path.join(
73+
module.root_path, template_folder
74+
)
75+
assert module.static_directory == os.path.join(module.root_path, static_folder)
7476
assert static_folder in module.static_directory
75-
assert os.path.exists(module.root_path)

0 commit comments

Comments
 (0)