beat.web.team.tests module

class beat.web.team.tests.TeamTestCase(methodName='runTest')[source]

Bases: rest_framework.test.APITestCase

setUp()[source]

Hook method for setting up the test fixture before exercising it.

class beat.web.team.tests.TeamListTestCase(methodName='runTest')[source]

Bases: beat.web.team.tests.TeamTestCase

setUp()[source]

Hook method for setting up the test fixture before exercising it.

test_anonymous_user()[source]
test_logged_in_user()[source]
class beat.web.team.tests.TeamPrivacyTestCase(methodName='runTest')[source]

Bases: beat.web.team.tests.TeamTestCase

setUp()[source]

Hook method for setting up the test fixture before exercising it.

test_public_privacy_level_anoymous_user()[source]
test_public_privacy_level_loggedin_user_in_team()[source]
test_public_privacy_level_loggedin_user_not_in_team()[source]
test_members_privacy_level()[source]
test_member_privacy_level_loggedin_user_in_team()[source]
test_member_privacy_level_loggedin_user_not_in_team()[source]
test_private_privacy_level()[source]
test_private_privacy_level_loggedin_user_in_team()[source]
class beat.web.team.tests.TeamCreationTestCase(methodName='runTest')[source]

Bases: beat.web.team.tests.TeamTestCase

setUp()[source]

Hook method for setting up the test fixture before exercising it.

test_anyonymous_user()[source]
test_logged_in_user()[source]
test_logged_in_user_invalid_inputs()[source]
class beat.web.team.tests.TeamAddMemberTestCase(methodName='runTest')[source]

Bases: beat.web.team.tests.TeamTestCase

setUp()[source]

Hook method for setting up the test fixture before exercising it.

test_anonymous_user()[source]
test_logged_in_user()[source]
test_logged_in_user_not_owner()[source]
test_logged_in_user_invalid_team()[source]
class beat.web.team.tests.TeamRemoveMemberTestCase(methodName='runTest')[source]

Bases: beat.web.team.tests.TeamTestCase

setUp()[source]

Hook method for setting up the test fixture before exercising it.

test_anonymous_user()[source]
test_logged_in_user()[source]
test_logged_in_user_not_owner()[source]
test_logged_in_user_invalid_team()[source]
class beat.web.team.tests.TeamInfoTestCase(methodName='runTest')[source]

Bases: beat.web.team.tests.TeamTestCase

setUp()[source]

Hook method for setting up the test fixture before exercising it.

test_anonymous_user()[source]
test_logged_in_user()[source]
test_logged_in_user_invalid_team()[source]
class beat.web.team.tests.TeamDeletionTestCase(methodName='runTest')[source]

Bases: beat.web.team.tests.TeamTestCase

setUp()[source]

Hook method for setting up the test fixture before exercising it.

get_url(options)[source]
test_anonymous_user()[source]
test_logged_in_user_own_team()[source]
test_logged_in_user_own_team_shared()[source]
test_logged_in_user_team_from_other()[source]
test_logged_in_user_invalid_owner()[source]
test_logged_in_user_invalid_team()[source]