diff options
| author | Aymeric Augustin | 2013-10-18 21:06:13 +0200 | 
|---|---|---|
| committer | Aymeric Augustin | 2013-10-18 21:08:02 +0200 | 
| commit | fbd16d85245184f40f869026cedc4e0440dde17b (patch) | |
| tree | bb3834645f45bb9cfd0dbe1c7bc811cf66effb8f /tests/tests.py | |
| parent | bd345551eb1c70cf365c93cbc2883a3d809e6ae7 (diff) | |
| download | django-debug-toolbar-fbd16d85245184f40f869026cedc4e0440dde17b.tar.bz2 | |
Test that non-string view arguments are supported.
Close #43.
Diffstat (limited to 'tests/tests.py')
| -rw-r--r-- | tests/tests.py | 4 | 
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 | 
