blob: 014508e4ddd27b325b879d9168cf3e46e710e70c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
diff -ur Flask-Themes-0.1.3.orig/tests/test-themes.py Flask-Themes-0.1.3/tests/test-themes.py
--- tests/test-themes.py 2011-07-14 06:36:33.000000000 +0800
+++ tests/test-themes.py 2013-06-10 18:20:25.901480529 +0800
@@ -129,8 +129,8 @@
with app.test_request_context('/'):
assert template_exists('hello.html')
- assert template_exists('_themes/cool/hello.html')
- assert not template_exists('_themes/plain/hello.html')
+ assert template_exists('cool/hello.html')
+ assert not template_exists('themes/plain/hello.html')
def test_loader(self):
app = Flask(__name__)
@@ -140,7 +140,7 @@
with app.test_request_context('/'):
if USING_BLUEPRINTS:
src = themes_blueprint.jinja_loader.get_source(
- app.jinja_env, '_themes/cool/hello.html'
+ app.jinja_env, 'cool/hello.html'
)
else:
src = themes_mod.jinja_loader.get_source(
|