AKScheduling.tests module

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

Bases: BasicViewTests, TestCase

Tests for AKScheduling

test_scheduling_of_slot_update()[source]

Test rescheduling a slot to a different time or room

test_unscheduling_of_slot()[source]

Test removing a slot from the schedule (e.g., by dragging it back to the list of unscheduled slots)

test_unscheduled_slot_drag_data()[source]

Test that the data of unscheduled slots in the scheduling view (used to create calendar events when dropping them on the calendar) is valid JSON and contains everything needed to unschedule them again later

test_constraint_violation_resolution_in_api()[source]

Test that the constraint violations API includes who resolved a violation manually and why

test_aks_unfulfillable_requirements()[source]

Test detection of AKs with unfulfillable requirements