AKSubmission.tests module

class AKSubmission.tests.ModelViewTests(methodName='runTest')[source]

Bases: BasicViewTests, TestCase

Testcases for AKSubmission app.

This extends BasicViewTests for standard view and edit testcases that are specified in this class as VIEWS and EDIT_TESTCASES.

Additionally several additional testcases, in particular to test the API and the dispatching for owner selection and editing are specified.

test_akslot_edit_delete_prevention()[source]

Slots planned already may not be modified or deleted in front end

test_slot_creation_deletion()[source]

Test creation and deletion of slots in frontend

test_ak_owner_editing()[source]

Test dispatch of user editing requests

test_ak_owner_selection()[source]

Test dispatch of owner selection requests

test_orga_message_submission()[source]

Test submission and storing of direct confident messages to organizers

test_interest_api()[source]

Test interest indicating API (access, functionality)

test_adding_of_unknown_user()[source]

Test adding of a previously not existing owner to an AK