forked from orbit-oss/flask
normpath is now used before loading templates
This commit is contained in:
parent
4927ce2590
commit
e04483bb90
4 changed files with 14 additions and 0 deletions
|
|
@ -767,6 +767,8 @@ class ModuleTestCase(unittest.TestCase):
|
|||
assert rv.data == 'Hello from the Frontend'
|
||||
rv = c.get('/admin/')
|
||||
assert rv.data == 'Hello from the Admin'
|
||||
rv = c.get('/admin/index2')
|
||||
assert rv.data == 'Hello from the Admin'
|
||||
rv = c.get('/admin/static/test.txt')
|
||||
assert rv.data.strip() == 'Admin File'
|
||||
rv = c.get('/admin/static/css/test.css')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue