Commit 9a6f5bd8 by Jacek Bzdak

Fixed new pylint error

parent 5c1a8c9e
...@@ -53,7 +53,7 @@ class MentoringAssessmentTest(MentoringAssessmentBaseTest): ...@@ -53,7 +53,7 @@ class MentoringAssessmentTest(MentoringAssessmentBaseTest):
self.browser.get(self.live_server_url) self.browser.get(self.live_server_url)
def freeform_answer(self, number, mentoring, controls, text_input, result, saved_value="", last=False): def freeform_answer(self, number, mentoring, controls, text_input, result, saved_value="", last=False):
question = self.expect_question_visible(number, mentoring) self.expect_question_visible(number, mentoring)
self.assert_persistent_elements_present(mentoring) self.assert_persistent_elements_present(mentoring)
self._selenium_bug_workaround_scroll_to(mentoring, question) self._selenium_bug_workaround_scroll_to(mentoring, question)
...@@ -112,7 +112,7 @@ class MentoringAssessmentTest(MentoringAssessmentBaseTest): ...@@ -112,7 +112,7 @@ class MentoringAssessmentTest(MentoringAssessmentBaseTest):
self.do_post(controls, last) self.do_post(controls, last)
def rating_question(self, number, mentoring, controls, choice_name, result, last=False): def rating_question(self, number, mentoring, controls, choice_name, result, last=False):
question = self.expect_question_visible(number, mentoring) self.expect_question_visible(number, mentoring)
self.assert_persistent_elements_present(mentoring) self.assert_persistent_elements_present(mentoring)
self._selenium_bug_workaround_scroll_to(mentoring, question) self._selenium_bug_workaround_scroll_to(mentoring, question)
self.assertIn("How much do you rate this MCQ?", mentoring.text) self.assertIn("How much do you rate this MCQ?", mentoring.text)
......
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