aboutsummaryrefslogtreecommitdiffstats
path: root/tests/tests.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/tests.py')
-rw-r--r--tests/tests.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/tests.py b/tests/tests.py
index 86622fc..7e1757f 100644
--- a/tests/tests.py
+++ b/tests/tests.py
@@ -196,6 +196,10 @@ class DebugToolbarIntegrationTestCase(TestCase):
response = self.client.get('/non_ascii_context/')
self.assertContains(response, 'nôt åscíì')
+ def test_object_with_non_ascii_repr_in_request_vars(self):
+ response = self.client.get('/non_ascii_request/')
+ self.assertContains(response, 'nôt åscíì')
+
def test_xml_validation(self):
response = self.client.get('/regular/XML/')
ET.fromstring(response.content) # shouldn't raise ParseError