From 15b1304e74c67d78f400cf63e9ffe06d3f4318dd Mon Sep 17 00:00:00 2001 From: Juan Catalano Date: Tue, 15 Apr 2014 14:33:38 +0000 Subject: Added unit test for broken context processors due to use of `render` This adds the regression test for the case when a custom context processor breaks cause of the use of `render` in the redirects panel. --- tests/context_processors.py | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 tests/context_processors.py (limited to 'tests/context_processors.py') diff --git a/tests/context_processors.py b/tests/context_processors.py new file mode 100644 index 0000000..3514639 --- /dev/null +++ b/tests/context_processors.py @@ -0,0 +1,3 @@ + +def custom(req): + msg = req.myattr -- cgit v1.2.3