1
0
mirror of https://github.com/django/django.git synced 2025-10-24 06:06:09 +00:00

Fixed hanging indentation in various code.

This commit is contained in:
Mariusz Felisiak
2018-03-16 10:54:34 +01:00
committed by GitHub
parent aeb8c38178
commit 362813d628
40 changed files with 266 additions and 232 deletions

View File

@@ -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")