Minor cleanups

This commit is contained in:
Andy Armstrong
2014-10-08 15:14:11 -04:00
parent fbeb57874c
commit 3af9eb25b2
2 changed files with 1 additions and 1 deletions

View File

@@ -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()

View File

@@ -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',