From a81e3fe4fecd77675ee2e69f0e948001240b50d7 Mon Sep 17 00:00:00 2001 From: Garrett Coakley Date: Fri, 26 Nov 2021 11:01:36 +0000 Subject: [PATCH] Whitespace clean up --- analytical/templatetags/heap.py | 1 + tests/unit/test_tag_heap.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/analytical/templatetags/heap.py b/analytical/templatetags/heap.py index d64e336..7ce7339 100644 --- a/analytical/templatetags/heap.py +++ b/analytical/templatetags/heap.py @@ -19,6 +19,7 @@ TRACKING_CODE = """ register = Library() + def _validate_no_args(token): bits = token.split_contents() if len(bits) > 1: diff --git a/tests/unit/test_tag_heap.py b/tests/unit/test_tag_heap.py index c0c1863..37ff046 100644 --- a/tests/unit/test_tag_heap.py +++ b/tests/unit/test_tag_heap.py @@ -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({}))