45
45
46
46
# Environment configuration
47
47
48
- manual_auto_mode = {
48
+ step_manual_auto_mode = {
49
49
"manual" : "Given category {{category}} is in manual mode" ,
50
50
"auto" : "Given category {{category}} is in auto mode"
51
51
}
52
52
53
- standardtimeMode = {
53
+ step_standardtime_mode = {
54
54
0 : "And category {{category}} is not in standardtime mode" ,
55
55
1 : "And category {{category}} is in standardtime mode with dates 1581043586 1582043586"
56
56
}
57
57
58
- internalState = {
58
+ step_internal_state = {
59
59
"notopened" : "And the internal state of course {{course}} is \" notopened\" " ,
60
60
"opened" : "And the internal state of course {{course}} is \" opened\" " ,
61
61
"closed" : "And the internal state of course {{course}} is \" closed\" " ,
62
62
"manual" : "And the internal state of course {{course}} is \" manual\" " ,
63
63
"none" : "And there is no internal record of course {{course}}"
64
64
}
65
65
66
- studentsState = {
66
+ step_students_state = {
67
67
"none" : "And no students enrolled in course " + coursename ,
68
68
"onlytutors" : "And only tutors enrolled in course " + coursename ,
69
69
"multi" : "And students enrolled in course " + coursename
123
123
# or something has to be added programatically (like coursenames or ids)
124
124
125
125
126
- def idnumberState (state , openstate ):
126
+ def step_idnumberstate (state , openstate ):
127
127
"""
128
128
:param state: idnumber state (none/invalid/one)
129
129
:return: String either creating none, an invalid or one evasys-course - moodle-course link via idnumber
@@ -137,7 +137,7 @@ def idnumberState(state, openstate):
137
137
return x
138
138
139
139
140
- def mappedState (state , openstate ):
140
+ def step_mappedstate (state , openstate ):
141
141
"""
142
142
:param state: mapped state (none/invalid/one/multi)
143
143
:return: a string creating none, only invalid, one or multiple mappings of a moodle-course to evasys-courses
0 commit comments