Add endpoint for testing list
parent
b1502db778
commit
00227caeed
|
@ -312,6 +312,14 @@ class CakeCMS:
|
|||
"""
|
||||
return self.get('testings/index', course=course).json()['testings']
|
||||
|
||||
def testingresults_index(self, course=None):
|
||||
"""
|
||||
Get a tree of all testings
|
||||
:param course:
|
||||
:return:
|
||||
"""
|
||||
return self.get('testingresults/index', course=course).json()['testings']
|
||||
|
||||
def testingresults_change(self, testing_id, student_id, points, course=None):
|
||||
"""
|
||||
Edit the points of a student.
|
||||
|
|
Loading…
Reference in New Issue