Skip to content

Commit

Permalink
tests: test_invalid_template_variable: use include
Browse files Browse the repository at this point in the history
This shows issue pytest-dev/pytest#580, which
is fixed in pytest 3.2.1.
  • Loading branch information
blueyed committed Aug 21, 2017
1 parent 109cceb commit cf63612
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_environment.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ def invalid_template(request):
'templates/invalid_template_base.html'
)
django_testdir.create_app_file(
"{% extends 'invalid_template_base.html' %}",
"{% include 'invalid_template_base.html' %}",
'templates/invalid_template.html'
)
django_testdir.create_test_module('''
Expand Down

0 comments on commit cf63612

Please sign in to comment.