mirror of
https://github.com/django/django.git
synced 2025-08-04 02:48:35 +00:00
Fixed hanging indentation in various code.
This commit is contained in:
parent
aeb8c38178
commit
362813d628
40 changed files with 266 additions and 232 deletions
|
@ -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")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue