summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorMarti Raudsepp <marti@juffo.org>2013-04-23 21:17:04 +0300
committerMarti Raudsepp <marti@juffo.org>2013-04-23 21:18:17 +0300
commit172b50b72224dea985cd665accab2ff3110f6674 (patch)
tree1a6c5b3f41dfbe91e617b71b3a02006d969b071f /tests
parent73c26f0c95e83582e933e0ef2f71a013f7a9740e (diff)
Clearer explanation when exception has no message
"No exception supplied" is misleading; actually there is an exception, but there's no message string.
Diffstat (limited to 'tests')
-rw-r--r--tests/view_tests/tests/test_debug.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/view_tests/tests/test_debug.py b/tests/view_tests/tests/test_debug.py
index b44cd88abe..dd0d0dc9a1 100644
--- a/tests/view_tests/tests/test_debug.py
+++ b/tests/view_tests/tests/test_debug.py
@@ -128,7 +128,7 @@ class ExceptionReporterTests(TestCase):
reporter = ExceptionReporter(request, None, None, None)
html = reporter.get_traceback_html()
self.assertIn('<h1>Report at /test_view/</h1>', html)
- self.assertIn('<pre class="exception_value">No exception supplied</pre>', html)
+ self.assertIn('<pre class="exception_value">No exception message supplied</pre>', html)
self.assertIn('<th>Request Method:</th>', html)
self.assertIn('<th>Request URL:</th>', html)
self.assertNotIn('<th>Exception Type:</th>', html)