AKModel.tests.test_slot_duration module
- class AKModel.tests.test_slot_duration.SlotDurationTests(methodName='runTest')[source]
Bases:
TestCaseTests for the restrictions of slot durations (positive, never longer than the event)
- test_max_slot_duration()[source]
Test that the maximum slot duration is the event length, rounded down to the precision of the field and never more than can be stored in the duration field