summaryrefslogtreecommitdiff
path: root/tests/test_utils/views.py
diff options
context:
space:
mode:
authorAlex Gaynor <alex.gaynor@gmail.com>2013-11-08 09:03:59 -0800
committerAlex Gaynor <alex.gaynor@gmail.com>2013-11-08 09:03:59 -0800
commitccd11c09c3bea966606f5c68dd2246b0c6757f65 (patch)
tree3df47bae56eb9fdd4aec9aa91cdcaaedc3d1b3ca /tests/test_utils/views.py
parent60d27fe7da57ad2325157296d97f35aaf8546da5 (diff)
Flake8 fix -- correct number of newlines between top level definitions
Diffstat (limited to 'tests/test_utils/views.py')
-rw-r--r--tests/test_utils/views.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/test_utils/views.py b/tests/test_utils/views.py
index a804bb9ae3..f561742b60 100644
--- a/tests/test_utils/views.py
+++ b/tests/test_utils/views.py
@@ -9,6 +9,7 @@ def get_person(request, pk):
person = get_object_or_404(Person, pk=pk)
return HttpResponse(person.name)
+
def no_template_used(request):
template = loader.get_template_from_string("This is a string-based template")
return HttpResponse(template.render(Context({})))