thunderbird_accounts.authentication.tests.test_account_status

Classes

FailingHandler()

RecordingHandler()

SecondRecordingHandler()

SetUserActiveTestCase([methodName])

SyncUserAccessTestCase([methodName])

UserAccessTestCase([methodName])

class thunderbird_accounts.authentication.tests.test_account_status.RecordingHandler[source]

Bases: AccountStatusHandler

sync(user, access)[source]

Apply access to the service. Must be idempotent, a no-op when the user has no identity on the service, and raise on failure.

class thunderbird_accounts.authentication.tests.test_account_status.SecondRecordingHandler[source]

Bases: RecordingHandler

class thunderbird_accounts.authentication.tests.test_account_status.FailingHandler[source]

Bases: AccountStatusHandler

sync(user, access)[source]

Apply access to the service. Must be idempotent, a no-op when the user has no identity on the service, and raise on failure.

class thunderbird_accounts.authentication.tests.test_account_status.UserAccessTestCase(methodName='runTest')[source]

Bases: TestCase

setUp()[source]

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

class thunderbird_accounts.authentication.tests.test_account_status.SetUserActiveTestCase(methodName='runTest')[source]

Bases: TestCase

setUp()[source]

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

class thunderbird_accounts.authentication.tests.test_account_status.SyncUserAccessTestCase(methodName='runTest')[source]

Bases: TestCase

setUp()[source]

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