diff --git a/cms/djangoapps/contentstore/tests/test_course_settings.py b/cms/djangoapps/contentstore/tests/test_course_settings.py index 7170adff52..5e641dbf3f 100644 --- a/cms/djangoapps/contentstore/tests/test_course_settings.py +++ b/cms/djangoapps/contentstore/tests/test_course_settings.py @@ -201,7 +201,7 @@ class CourseDetailsViewTest(CourseTestCase, MilestonesTestCaseMixin): settings_details_url = get_url(self.course.id) response = self.client.get_html(settings_details_url) - self.assertEqual("Upgrade Deadline Date" in response.content, has_expiration_date and has_verified_mode) + self.assertEqual(b"Upgrade Deadline Date" in response.content, has_expiration_date and has_verified_mode) @mock.patch.dict("django.conf.settings.FEATURES", {'ENABLE_PREREQUISITE_COURSES': True}) def test_pre_requisite_course_list_present(self):