Assuring that courses without updates cannot see the updates link from the home page and that the update message does not throw an error upon loading from a direct URL without any updates. Added test to assure this behavior and fixed up welcome message tests.

This commit is contained in:
Harry Rein
2017-06-23 11:07:41 -04:00
parent 00ba9c7062
commit a34081c24b
11 changed files with 87 additions and 52 deletions

View File

@@ -12,7 +12,7 @@ class CourseBookmarksTool(CourseTool):
The course bookmarks tool.
"""
@classmethod
def is_enabled(cls, course_key):
def is_enabled(cls, request, course_key):
"""
Always show the bookmarks tool.
"""