Permalink
Browse files

Make jinja tests pass after changing jinja template extension to .jinja

  • Loading branch information...
1 parent 0da49c1 commit 9029927365e55438c0b09c394ab550474eece273 @amol- amol- committed Apr 20, 2012
@@ -140,11 +140,11 @@ def genshi_inherits_sub(self):
def genshi_inherits_sub_from_bottom(self):
return {}
- @expose('jinja:jinja_noop.html')
+ @expose('jinja:jinja_noop.jinja')
def jinja_index(self):
return {}
- @expose('jinja:jinja_inherits.html')
+ @expose('jinja:jinja_inherits.jinja')
def jinja_inherits(self):
return {}
@@ -160,18 +160,18 @@ def jinja_inherits_dotted(self):
def jinja_inherits_mixed(self):
return {}
- @expose('jinja:jinja_extensions.html')
+ @expose('jinja:jinja_extensions.jinja')
def jinja_extensions(self):
test_autoescape_on = "<b>Test Autoescape On</b>"
test_autoescape_off = "<b>Autoescape Off</b>"
return dict(test_autoescape_off=test_autoescape_off,
test_autoescape_on=test_autoescape_on)
- @expose('jinja:jinja_filters.html')
+ @expose('jinja:jinja_filters.jinja')
def jinja_filters(self):
return {}
- @expose('jinja:jinja_buildins.html')
+ @expose('jinja:jinja_buildins.jinja')
def jinja_buildins(self):
return {}
@@ -270,9 +270,9 @@ def template_override_multiple_content_type(self, override=False):
def jinja2_manual_rendering(self, frompylons=False):
if frompylons:
from pylons.templating import render_jinja2
- return render_jinja2('jinja_inherits.html')
+ return render_jinja2('jinja_inherits.jinja')
else:
- return render_template({}, 'jinja', 'jinja_inherits.html')
+ return render_template({}, 'jinja', 'jinja_inherits.jinja')
@expose()
def genshi_manual_rendering_with_doctype(self, doctype=None):
@@ -1,4 +1,4 @@
-{% extends "jinja_base.html" %}
+{% extends "jinja_base.jinja" %}
{% block title %}Index{% endblock %}
@@ -1,4 +1,4 @@
-{% extends "jinja_base.html" %}
+{% extends "jinja_base.jinja" %}
{% block title %}Index{% endblock %}
@@ -1,4 +1,4 @@
-{% extends "jinja_base.html" %}
+{% extends "jinja_base.jinja" %}
{% block title %}Index{% endblock %}
@@ -1,4 +1,4 @@
-{% extends "jinja_base.html" %}
+{% extends "jinja_base.jinja" %}
{% block title %}Index{% endblock %}
{% block html_head %}

0 comments on commit 9029927

Please sign in to comment.