Merge pull request #21600 from amitvadhel/BOM-442
BOM-442 | Response decoding for RssProxyViewTests
This commit is contained in:
@@ -62,7 +62,7 @@ class RssProxyViewTests(TestCase):
|
||||
print(resp['Content-Type'])
|
||||
self.assertEqual(resp.status_code, 404)
|
||||
self.assertEqual(resp['Content-Type'], 'application/xml')
|
||||
self.assertEqual(resp.content, '')
|
||||
self.assertEqual(resp.content.decode('utf-8'), '')
|
||||
|
||||
def test_proxy_with_non_whitelisted_url(self):
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user