Commit 3af9eb25 by Andy Armstrong

Minor cleanups

parent fbeb5787
...@@ -73,6 +73,7 @@ class DiscussionTabSingleThreadTest(UniqueCourseTest): ...@@ -73,6 +73,7 @@ class DiscussionTabSingleThreadTest(UniqueCourseTest):
self.thread_page = DiscussionTabSingleThreadPage(self.browser, self.course_id, thread_id) # pylint:disable=W0201 self.thread_page = DiscussionTabSingleThreadPage(self.browser, self.course_id, thread_id) # pylint:disable=W0201
self.thread_page.visit() self.thread_page.visit()
# pylint:disable=W0613
def refresh_thread_page(self, thread_id): def refresh_thread_page(self, thread_id):
self.browser.refresh() self.browser.refresh()
self.thread_page.wait_for_page() self.thread_page.wait_for_page()
......
...@@ -394,7 +394,6 @@ def prepare_content(content, course_key, is_staff=False): ...@@ -394,7 +394,6 @@ def prepare_content(content, course_key, is_staff=False):
@TODO: not all response pre-processing steps are currently integrated into @TODO: not all response pre-processing steps are currently integrated into
this function. this function.
""" """
fields = [ fields = [
'id', 'title', 'body', 'course_id', 'anonymous', 'anonymous_to_peers', 'id', 'title', 'body', 'course_id', 'anonymous', 'anonymous_to_peers',
'endorsed', 'parent_id', 'thread_id', 'votes', 'closed', 'created_at', 'endorsed', 'parent_id', 'thread_id', 'votes', 'closed', 'created_at',
......
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