AnnouncementTest

Qualified name: intranet.apps.announcements.tests.AnnouncementTest

class intranet.apps.announcements.tests.AnnouncementTest(methodName='runTest')[source]

Bases: IonTestCase

Tests for the announcements module.

Methods

setUp

test_add_announcement_view

test_admin_approve_announcement_view

test_admin_request_status_view

test_announcement_approval_allowed_users

Tests to ensure that only allowed users can approve announcements.

test_announcement_request

Tests the announcement request view.

test_approve_announcement_view

test_change_announcements

test_delete_announcement_view

test_get_announcements

test_hide_announcement_view

test_modify_announcement_view

test_modify_club_announcement

test_request_announcement_success_self_view

test_request_announcement_success_view

test_show_announcement_view

test_view_announcement_view

test_visible_to_user

Tests AnnouncementManager.visible_to_user().

Attributes

test_announcement_approval_allowed_users()[source]

Tests to ensure that only allowed users can approve announcements.

test_announcement_request()[source]

Tests the announcement request view.

test_visible_to_user()[source]

Tests AnnouncementManager.visible_to_user().