Commit 14a737ec by Diana Huang Committed by Brian Jacobel

Also verify that we don't see the resume button

when not possible.
parent f930060a
......@@ -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:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment