Also verify that we don't see the resume button
when not possible.
This commit is contained in:
committed by
Brian Jacobel
parent
f930060a83
commit
14a737ec29
@@ -71,6 +71,8 @@ class TestCourseOutlinePage(SharedModuleStoreTestCase):
|
||||
|
||||
if course.last_accessed is not None:
|
||||
self.assertIn('Resume Course', response_content)
|
||||
else:
|
||||
self.assertNotIn('Resume Course', response_content)
|
||||
for chapter in course.children:
|
||||
self.assertIn(chapter.display_name, response_content)
|
||||
for section in chapter.children:
|
||||
|
||||
Reference in New Issue
Block a user