Add test_validate_django().

This commit is contained in:
Steve Howell 2016-08-08 07:30:07 -07:00 committed by Tim Abbott
parent d29e745142
commit 95b19f9765
1 changed files with 10 additions and 0 deletions

View File

@ -44,6 +44,16 @@ class ParserTest(unittest.TestCase):
'''
validate(text=my_html)
def test_validate_django(self):
# type: () -> None
my_html = '''
{% include "some_other.html" %}
{% if foo %}
<p>bar</p>
{% endif %}
'''
validate(text=my_html)
def test_tokenize(self):
# type: () -> None
tag = '<meta whatever>bla'