def state(): state = State( student_code="echo a $b ${c}", solution_code="echo a $b ${c} unique", pre_exercise_code="", student_conn=None, solution_conn=None, student_result="", solution_result="", reporter=Reporter(), ) state.root_state = state return state
def state(): state = State( student_code="some code\x1b[39;49m", solution_code="some code", pre_exercise_code="", student_conn=replwrap.bash(), solution_conn=None, student_result="stdout stuff", solution_result=None, reporter=Reporter(), ) state.root_state = state return state