From c51db6c92de36cba90e929a88918b844bd929552 Mon Sep 17 00:00:00 2001 From: "Dave St.Germain" Date: Mon, 19 Aug 2019 16:35:41 -0400 Subject: [PATCH] Must compare with bytes --- lms/djangoapps/courseware/tests/test_date_summary.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lms/djangoapps/courseware/tests/test_date_summary.py b/lms/djangoapps/courseware/tests/test_date_summary.py index 068f6ac9df..ecb5619153 100644 --- a/lms/djangoapps/courseware/tests/test_date_summary.py +++ b/lms/djangoapps/courseware/tests/test_date_summary.py @@ -61,7 +61,7 @@ class CourseDateSummaryTest(SharedModuleStoreTestCase): self.client.login(username=user.username, password=TEST_PASSWORD) url = reverse('info', args=(course.id,)) response = self.client.get(url) - self.assertNotIn('date-summary', response.content) + self.assertNotIn(b'date-summary', response.content) def test_course_home_logged_out(self): course = create_course_run()