Add endpoint for testing list

master
Markus Bauer 2023-06-23 11:58:00 +02:00
parent b1502db778
commit 00227caeed
1 changed files with 8 additions and 0 deletions

View File

@ -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.