Merge pull request #21600 from amitvadhel/BOM-442

BOM-442 | Response decoding for RssProxyViewTests
This commit is contained in:
Feanil Patel
2019-09-09 10:58:25 -04:00
committed by GitHub

View File

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