api.tests package¶
Submodules¶
api.tests.test_urls module¶
api.tests.test_views module¶
-
class
api.tests.test_views.TestPostViews(methodName='runTest')¶ Bases:
django.test.testcases.TestCaseTests to verify the functioning of all the post requests in bot_server/api
-
setUp()¶ Test setup for each test in this class. It is done for each of the tests
-
test_post_assignment()¶ Test behaviour of correct POST request for adding an assignment to an existing course.
-
test_post_course()¶ Test behaviour of correct POST request for creating a course workspace
-
test_post_group()¶ Test behaviour of correct POST request for creating a student group in an existing workspace.
-
test_post_student()¶ Test behaviour of correct POST request for creating/adding a student to an existing workspace.
-