@step(u'I input an answer on a "([^"]*)" problem "([^"]*)ly"')
def input_problem_answer(_, problem_type, correctness):
 assert (correctness in ['correct', 'incorrect'])
 assert (problem_type in PROBLEM_DICT)
 answer_problem(world.scenario_dict['COURSE'].number, problem_type, correctness)

@ step ( u'I input an answer on a "([^"]*)" problem "([^"]*)ly"' ) def input_problem_answer ( _ , problem_type , correctness ) : assert ( correctness in [ 'correct' , 'incorrect' ] ) assert ( problem_type in PROBLEM_DICT ) answer_problem ( world . scenario_dict [ 'COURSE' ] . number , problem_type , correctness )
have the browser input an answer .