summaryrefslogtreecommitdiff
path: root/tests/test_client
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_client')
-rw-r--r--tests/test_client/tests.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/test_client/tests.py b/tests/test_client/tests.py
index 5c691f2b27..fb506e7ca9 100644
--- a/tests/test_client/tests.py
+++ b/tests/test_client/tests.py
@@ -178,8 +178,7 @@ class ClientTest(TestCase):
test_doc = """<?xml version="1.0" encoding="utf-8"?>
<library><book><title>Blink</title><author>Malcolm Gladwell</author></book></library>
"""
- response = self.client.post("/raw_post_view/", test_doc,
- content_type="text/xml")
+ response = self.client.post('/raw_post_view/', test_doc, content_type='text/xml')
self.assertEqual(response.status_code, 200)
self.assertEqual(response.templates[0].name, "Book template")
self.assertEqual(response.content, b"Blink - Malcolm Gladwell")