We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1850b0f commit c203b7aCopy full SHA for c203b7a
xmpp_http_upload/tests.py
@@ -223,7 +223,7 @@ def test_json(self):
223
def test_unknown_content_type(self):
224
response = self.req({'jid': '[email protected]', 'output': 'application/foobar'})
225
self.assertEquals(response.status_code, 400)
226
- self.assertEquals(response.content, 'Unsupported content type in output.')
+ self.assertEquals(response.content, b'Unsupported content type in output.')
227
228
229
class UploadTest(TestCase):
0 commit comments