Also verify that we don't see the resume button

when not possible.
This commit is contained in:
Diana Huang
2017-03-15 13:58:07 -04:00
committed by Brian Jacobel
parent f930060a83
commit 14a737ec29

View File

@@ -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: