Fix location.url [LMS-2786]
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
# pylint: disable=C0111
|
||||
# pylint: disable=W0621
|
||||
|
||||
from lettuce import world, steps
|
||||
from nose.tools import assert_in, assert_equals, assert_true
|
||||
from nose.tools import assert_in, assert_true # pylint: disable=no-name-in-module
|
||||
|
||||
from common import i_am_registered_for_the_course, visit_scenario_item
|
||||
from problems_setup import add_problem_to_course, answer_problem
|
||||
@@ -90,6 +92,7 @@ class ConditionalSteps(object):
|
||||
assert_true(world.css_visible('.hidden-contents'))
|
||||
else:
|
||||
assert_true(world.is_css_not_present('.hidden-contents'))
|
||||
assert_true(world.css_contains_text('.conditional-message', 'must be attempted before this will become visible.')) # sarina
|
||||
|
||||
def answer_poll(self, step, answer):
|
||||
r' I answer the conditioned poll "([^"]*)"$'
|
||||
@@ -116,4 +119,4 @@ class ConditionalSteps(object):
|
||||
return
|
||||
|
||||
|
||||
ConditionalSteps()
|
||||
ConditionalSteps()
|
||||
|
||||
Reference in New Issue
Block a user