From a7e4a051540e56f2c99bcab20fb1b9775130ebfd Mon Sep 17 00:00:00 2001 From: Ayub khan Date: Fri, 23 Aug 2019 14:11:30 +0500 Subject: [PATCH] BOM-326 --- lms/djangoapps/discussion/rest_api/tests/test_views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lms/djangoapps/discussion/rest_api/tests/test_views.py b/lms/djangoapps/discussion/rest_api/tests/test_views.py index a619d93999..fe770a8b9d 100644 --- a/lms/djangoapps/discussion/rest_api/tests/test_views.py +++ b/lms/djangoapps/discussion/rest_api/tests/test_views.py @@ -193,7 +193,7 @@ class RetireViewTest(DiscussionAPIViewTestMixin, ModuleStoreTestCase): self.assertEqual(response.status_code, expected_status) if expected_content: - self.assertEqual(text_type(response.content), expected_content) + self.assertEqual(response.content.decode('utf-8'), expected_content) def build_jwt_headers(self, user): """