Must compare with bytes
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user