backend.globaleaks.tests.test_api_token

Module Contents

Classes

TestAPITokenEnabled
TestAPITokenDisabled
class backend.globaleaks.tests.test_api_token.TestAPITokenEnabled[source]

Bases: globaleaks.tests.helpers.TestHandlerWithPopulatedDB

_handler[source]
setUp(self)[source]
test_accept_token(self)[source]
test_deny_token(self)[source]
tearDown(self)[source]
class backend.globaleaks.tests.test_api_token.TestAPITokenDisabled[source]

Bases: globaleaks.tests.helpers.TestHandlerWithPopulatedDB

_handler[source]
test_deny_token(self)[source]
tearDown(self)[source]