thunderbird_accounts.subscription.tests.test_utils

Classes

TestActivationSubscriptionFeatures([methodName])

TestDeactivationSubscriptionFeatures([...])

class thunderbird_accounts.subscription.tests.test_utils.TestActivationSubscriptionFeatures(methodName='runTest')[source]

Bases: TestCase

setUp()[source]

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

test_success()[source]

Test a fresh user without a stalwart account goes through our create_stalwart_account task

class thunderbird_accounts.subscription.tests.test_utils.TestDeactivationSubscriptionFeatures(methodName='runTest')[source]

Bases: TestActivationSubscriptionFeatures

setUp()[source]

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

test_success()[source]

A canceled subscription with no other active one removes the plan and locks the services.

test_existing_stalwart_account_updates_quota_and_regrants_mail_access()[source]

Inherited activation test, not applicable.