AKSolverInterface.tests.test_json_export_scheduled module

class AKSolverInterface.tests.test_json_export_scheduled.JSONExportScheduledSlotsTest(methodName='runTest')[source]

Bases: TestCase

Test that scheduled slots are removed from the export when fixing scheduled slots and that availabilities of affected objects are reduced accordingly.

test_scheduled_slots_removed()[source]

Scheduled slots are only exported if scheduled slots are not fixed.

test_owner_availability_reduced()[source]

Owners are not available during their scheduled slots.

test_room_availability_reduced()[source]

Rooms are not available during slots scheduled in them.

test_owner_without_remaining_availability()[source]

Owners whose whole availability is used by scheduled slots cannot be scheduled anymore.

test_participant_without_remaining_availability()[source]

Participants whose whole availability is used by scheduled slots get a time constraint.

test_prerequisite_ak_availability_reduced()[source]

Prerequisites of a scheduled AK are only available before its start.

test_filtered_scheduled_slots_considered()[source]

Scheduled slots excluded by filters still reduce availabilities.

test_no_fixed_slot_constraints()[source]

Timeslots do not fulfill constraints of fixed slots that are not exported.

test_required_participant_availability_reduced()[source]

Participants are not available during scheduled slots they are required for.

test_dependent_ak_availability_reduced()[source]

AKs depending on a scheduled AK are only available after its end.

test_conflicting_ak_availability_reduced_both_ways()[source]

Conflicts are considered in both directions.

class AKSolverInterface.tests.test_json_export_scheduled.AvailabilityDifferenceTest(methodName='runTest')[source]

Bases: TestCase

Test computing the difference of availabilities.