EighthTest

Qualified name: intranet.apps.eighth.tests.test\_general.EighthTest

class intranet.apps.eighth.tests.test_general.EighthTest(methodName='runTest')[source]

Bases: EighthAbstractTest

Tests for the eighth module.

Methods

test_absence_email

test_active_schedulings

test_all_associated_rooms

Make sure EighthScheduledActivities can return all associated rooms.

test_blacklist

Make sure users cannot sign up for blacklisted activities.

test_both_blocks

Make sure that signing up for a both blocks activity works.

test_cancel_uncancel

test_passes

test_room_formatting

Make sure a room name formatting is correct.

test_room_use

Make sure EighthScheduledActivities return the correct room.

test_signup_status_email

test_signups

Do some sample signups.

test_sponsor

test_switch_cancelled_sticky

Make sure users can switch out of cancelled activities even if they are stickied in.

test_total_capacity

test_true_capacity

Attributes

test_all_associated_rooms()[source]

Make sure EighthScheduledActivities can return all associated rooms.

test_blacklist()[source]

Make sure users cannot sign up for blacklisted activities.

test_both_blocks()[source]

Make sure that signing up for a both blocks activity works.

test_room_formatting()[source]

Make sure a room name formatting is correct.

test_room_use()[source]

Make sure EighthScheduledActivities return the correct room.

test_signups()[source]

Do some sample signups.

test_switch_cancelled_sticky()[source]

Make sure users can switch out of cancelled activities even if they are stickied in.