4545
4646# Environment configuration
4747
48- manual_auto_mode = {
48+ step_manual_auto_mode = {
4949 "manual" : "Given category {{category}} is in manual mode" ,
5050 "auto" : "Given category {{category}} is in auto mode"
5151}
5252
53- standardtimeMode = {
53+ step_standardtime_mode = {
5454 0 : "And category {{category}} is not in standardtime mode" ,
5555 1 : "And category {{category}} is in standardtime mode with dates 1581043586 1582043586"
5656}
5757
58- internalState = {
58+ step_internal_state = {
5959 "notopened" : "And the internal state of course {{course}} is \" notopened\" " ,
6060 "opened" : "And the internal state of course {{course}} is \" opened\" " ,
6161 "closed" : "And the internal state of course {{course}} is \" closed\" " ,
6262 "manual" : "And the internal state of course {{course}} is \" manual\" " ,
6363 "none" : "And there is no internal record of course {{course}}"
6464}
6565
66- studentsState = {
66+ step_students_state = {
6767 "none" : "And no students enrolled in course " + coursename ,
6868 "onlytutors" : "And only tutors enrolled in course " + coursename ,
6969 "multi" : "And students enrolled in course " + coursename
123123# or something has to be added programatically (like coursenames or ids)
124124
125125
126- def idnumberState (state , openstate ):
126+ def step_idnumberstate (state , openstate ):
127127 """
128128 :param state: idnumber state (none/invalid/one)
129129 :return: String either creating none, an invalid or one evasys-course - moodle-course link via idnumber
@@ -137,7 +137,7 @@ def idnumberState(state, openstate):
137137 return x
138138
139139
140- def mappedState (state , openstate ):
140+ def step_mappedstate (state , openstate ):
141141 """
142142 :param state: mapped state (none/invalid/one/multi)
143143 :return: a string creating none, only invalid, one or multiple mappings of a moodle-course to evasys-courses
0 commit comments