mirror of
https://github.com/django/django.git
synced 2025-10-24 22:26:08 +00:00
Fixed #28079 -- Restored "No POST data" (rather than an empty table) in HTML debug page.
Regression in 7b6dccc82f
This commit is contained in:
@@ -290,6 +290,7 @@ class ExceptionReporterTests(SimpleTestCase):
|
||||
self.assertIn('<h2>Traceback ', html)
|
||||
self.assertIn('<h2>Request information</h2>', html)
|
||||
self.assertNotIn('<p>Request data not supplied</p>', html)
|
||||
self.assertIn('<p>No POST data</p>', html)
|
||||
|
||||
def test_no_request(self):
|
||||
"An exception report can be generated without request"
|
||||
|
||||
Reference in New Issue
Block a user