Fix PEP8: E123 closing bracket does not match

indentation of opening bracket's line
This commit is contained in:
stv
2014-11-08 17:20:47 -08:00
parent 55de42d19c
commit 5a69feadeb
17 changed files with 23 additions and 19 deletions

View File

@@ -147,7 +147,8 @@ class CourseNavPage(PageObject):
# It *would* make sense to always get the HTML, but unfortunately
# the open tab has some child <span> tags that we don't want.
return self.q(
css=subsection_css).map(
css=subsection_css
).map(
lambda el: el.text.strip().split('\n')[0] if el.is_displayed() else el.get_attribute('innerHTML').strip()
).results

View File

@@ -80,7 +80,9 @@ class OpenResponseTest(UniqueCourseTest):
# This is the interface a student can use to grade his/her peers
XBlockFixtureDesc('peergrading', 'Peer Module'),
))).install()
)
)
).install()
# Configure the XQueue stub's response for the text we will submit
# The submission text is unique so we can associate each response with a particular test case.