mirror of
https://github.com/jazzband/django-analytical.git
synced 2026-03-16 22:20:25 +00:00
Whitespace clean up
This commit is contained in:
parent
ec30d6aa9b
commit
a81e3fe4fe
2 changed files with 2 additions and 1 deletions
|
|
@ -19,6 +19,7 @@ TRACKING_CODE = """
|
|||
|
||||
register = Library()
|
||||
|
||||
|
||||
def _validate_no_args(token):
|
||||
bits = token.split_contents()
|
||||
if len(bits) > 1:
|
||||
|
|
|
|||
|
|
@ -25,7 +25,7 @@ class HeapTagTestCase(TagTestCase):
|
|||
def test_node(self):
|
||||
r = HeapNode().render(Context({}))
|
||||
assert "123456789" in r
|
||||
|
||||
|
||||
def test_tags_take_no_args(self):
|
||||
with pytest.raises(TemplateSyntaxError, match="'heap' takes no arguments"):
|
||||
Template('{% load heap %}{% heap "arg" %}').render(Context({}))
|
||||
|
|
|
|||
Loading…
Reference in a new issue