diff options
| author | Tim Graham <timograham@gmail.com> | 2013-05-30 09:53:07 -0700 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2013-05-30 09:53:07 -0700 |
| commit | 7902fd74f1fbc5c47f2feb95e447bb307b37e0c9 (patch) | |
| tree | bfa59c0c23df8d1df05bf94f2a396748bd17d291 /tests | |
| parent | 5074c75a37f88726f3ae057999144545881d3cfc (diff) | |
| parent | 172b50b72224dea985cd665accab2ff3110f6674 (diff) | |
Merge pull request #1027 from intgr/debug_no_exc_message
Clearer explanation when exception has no message
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/view_tests/tests/test_debug.py | 2 |
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 5f48d7a2b8..f686eee0e0 100644 --- a/tests/view_tests/tests/test_debug.py +++ b/tests/view_tests/tests/test_debug.py @@ -178,7 +178,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) |
