summaryrefslogtreecommitdiff
path: root/tests/test_client
diff options
context:
space:
mode:
authorMariusz Felisiak <felisiak.mariusz@gmail.com>2018-03-16 10:54:34 +0100
committerGitHub <noreply@github.com>2018-03-16 10:54:34 +0100
commit362813d6287925b8f63f0b107c55a74d95f5825e (patch)
treeefd69a3deb9e837624279e5abfdd8d55d57dcd7c /tests/test_client
parentaeb8c381789ad93866223f8bd07d09ae5e2edd9e (diff)
downloaddjango-362813d6287925b8f63f0b107c55a74d95f5825e.tar.gz
Fixed hanging indentation in various code.
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")