Must compare with bytes

This commit is contained in:
Dave St.Germain
2019-08-19 16:35:41 -04:00
parent a3b52662d1
commit c51db6c92d

View File

@@ -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()