Removing references to deleted module common.test.acceptance.pages.lms.rubric

This commit is contained in:
Jhony Avella
2016-07-13 17:38:10 -05:00
parent 6e7d4cef04
commit c25cdbad07
2 changed files with 0 additions and 22 deletions

View File

@@ -5,7 +5,6 @@ Page that allows the student to grade calibration essays
from bok_choy.page_object import PageObject
from bok_choy.promise import Promise
from .rubric import RubricPage
class PeerCalibratePage(PageObject):
@@ -32,16 +31,6 @@ class PeerCalibratePage(PageObject):
"""
self.q(css='input.calibration-feedback-button').first.click()
@property
def rubric(self):
"""
Return a `RubricPage` for the calibration essay.
If no rubric is available, raises a `BrokenPromise` exception.
"""
rubric = RubricPage(self.browser)
rubric.wait_for_page(timeout=60)
return rubric
@property
def message(self):
"""

View File

@@ -4,7 +4,6 @@ Students grade peer submissions.
from bok_choy.page_object import PageObject
from bok_choy.promise import Promise
from .rubric import RubricPage
class PeerGradePage(PageObject):
@@ -37,13 +36,3 @@ class PeerGradePage(PageObject):
"""
index = self.problem_list.index(problem_name) + 1
self.q(css='a.problem-button:nth-of-type({})'.format(index)).first.click()
@property
def rubric(self):
"""
Return a `RubricPage` to allow students to grade their peers.
If no rubric is available, raises a `BrokenPromise` exception.
"""
rubric = RubricPage(self.browser)
rubric.wait_for_page()
return rubric