Minor cleanups
This commit is contained in:
@@ -73,6 +73,7 @@ class DiscussionTabSingleThreadTest(UniqueCourseTest):
|
||||
self.thread_page = DiscussionTabSingleThreadPage(self.browser, self.course_id, thread_id) # pylint:disable=W0201
|
||||
self.thread_page.visit()
|
||||
|
||||
# pylint:disable=W0613
|
||||
def refresh_thread_page(self, thread_id):
|
||||
self.browser.refresh()
|
||||
self.thread_page.wait_for_page()
|
||||
|
||||
@@ -394,7 +394,6 @@ def prepare_content(content, course_key, is_staff=False):
|
||||
@TODO: not all response pre-processing steps are currently integrated into
|
||||
this function.
|
||||
"""
|
||||
|
||||
fields = [
|
||||
'id', 'title', 'body', 'course_id', 'anonymous', 'anonymous_to_peers',
|
||||
'endorsed', 'parent_id', 'thread_id', 'votes', 'closed', 'created_at',
|
||||
|
||||
Reference in New Issue
Block a user