Commit 4f897e26 by Calen Pennington

Fix the tests of the book url

parent f5848055
...@@ -388,7 +388,11 @@ class TestViewAuth(PageLoader): ...@@ -388,7 +388,11 @@ class TestViewAuth(PageLoader):
list of urls that students should be able to see only list of urls that students should be able to see only
after launch, but staff should see before after launch, but staff should see before
""" """
urls = reverse_urls(['info', 'book', 'courseware', 'profile'], course) urls = reverse_urls(['info', 'courseware', 'profile'], course)
urls.extend([
reverse('book', kwargs={'course_id': course.id, 'book_index': book.title})
for book in course.textbooks
])
return urls return urls
def light_student_urls(course): def light_student_urls(course):
......
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