mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
Fixed #23395 -- Limited line lengths to 119 characters.
This commit is contained in:
committed by
Tim Graham
parent
84b0a8d2aa
commit
b1e33ceced
@@ -156,7 +156,9 @@ class ClientTest(TestCase):
|
||||
|
||||
def test_raw_post(self):
|
||||
"POST raw data (with a content type) to a view"
|
||||
test_doc = """<?xml version="1.0" encoding="utf-8"?><library><book><title>Blink</title><author>Malcolm Gladwell</author></book></library>"""
|
||||
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")
|
||||
self.assertEqual(response.status_code, 200)
|
||||
|
||||
Reference in New Issue
Block a user