aboutsummaryrefslogtreecommitdiffstats
path: root/tests/middlewares.py
diff options
context:
space:
mode:
authorDaniel Harding2014-04-25 08:38:06 -0500
committerDaniel Harding2014-04-25 08:41:17 -0500
commit7ea9dc9d7df5420d73bae60121003112cc5944d7 (patch)
tree4b507f8970ecc8681fd4e2e53a5140068c42ec92 /tests/middlewares.py
parent6ce52b2532afaccca9932b7087533609fd239a9b (diff)
downloaddjango-debug-toolbar-7ea9dc9d7df5420d73bae60121003112cc5944d7.tar.bz2
Improve the redirect context processor test.
* rename the context processor used from 'custom' to 'broken' * remove the custom middleware, because it is not used in the context of the test * rename the test to better identify what it is testing
Diffstat (limited to 'tests/middlewares.py')
-rw-r--r--tests/middlewares.py5
1 files changed, 0 insertions, 5 deletions
diff --git a/tests/middlewares.py b/tests/middlewares.py
deleted file mode 100644
index 44a3ef1..0000000
--- a/tests/middlewares.py
+++ /dev/null
@@ -1,5 +0,0 @@
-
-
-class CustomMiddleware(object):
- def process_request(request):
- request.myattr = 'test attribute'