diff --git a/test_hello_world.py b/test_hello_world.py index bcbfee8..7a8f775 100644 --- a/test_hello_world.py +++ b/test_hello_world.py @@ -14,7 +14,7 @@ def test_status_code(self): def test_message(self): response = self.app.get('/') message = hello_world.wrap_html('Hello PyLadies Chicago!') - self.assertEqual(response.data, message) + self.assertEqual(response.data, bytes(message, 'utf-8')) # turn message into bytes for proper comparison if __name__ == '__main__': unittest.main() \ No newline at end of file