Fix test on python 3

This commit is contained in:
Ben Darnell 2012-05-06 18:39:57 -07:00
parent 91ea775747
commit 62ff417c19
1 changed files with 1 additions and 1 deletions

View File

@ -257,7 +257,7 @@ class SimpleHTTPClientTestCase(AsyncHTTPTestCase, LogTrapTestCase):
self.assertEqual(response.code, 200)
self.assertEqual(response.headers["content-length"], "2")
self.assertEqual(response.headers["access-control-allow-origin"], "*")
self.assertEqual(response.body, "ok")
self.assertEqual(response.body, b("ok"))
def test_no_content(self):
response = self.fetch("/no_content")