backend.globaleaks.tests.handlers.test_base

Module Contents

Classes

BaseHandlerMock
TestBaseHandler
backend.globaleaks.tests.handlers.test_base.FUTURE = 100[source]
class backend.globaleaks.tests.handlers.test_base.BaseHandlerMock[source]

Bases: globaleaks.handlers.base.BaseHandler

check_roles = none[source]
get(self)[source]
class backend.globaleaks.tests.handlers.test_base.TestBaseHandler[source]

Bases: globaleaks.tests.helpers.TestHandlerWithPopulatedDB

_handler[source]
test_validate_jmessage_valid(self)[source]
test_validate_jmessage_invalid(self)[source]
test_validate_message_valid(self)[source]
test_validate_message_invalid(self)[source]
test_validate_type_valid(self)[source]
test_validate_type_invalid(self)[source]
test_validate_python_type_valid(self)[source]
test_validate_regexp_valid(self)[source]