backend.globaleaks.tests.handlers.admin.test_questionnaire

Module Contents

Classes

TestQuestionnairesCollection
TestQuestionnaireInstance
TestQuestionnareDuplication
class backend.globaleaks.tests.handlers.admin.test_questionnaire.TestQuestionnairesCollection[source]

Bases: globaleaks.tests.helpers.TestCollectionHandler

_handler[source]
_test_desc[source]
test_post_invalid_json(self)[source]
test_post_valid_json(self)[source]
class backend.globaleaks.tests.handlers.admin.test_questionnaire.TestQuestionnaireInstance[source]

Bases: globaleaks.tests.helpers.TestInstanceHandler

_handler[source]
_test_desc[source]
class backend.globaleaks.tests.handlers.admin.test_questionnaire.TestQuestionnareDuplication[source]

Bases: globaleaks.tests.helpers.TestHandlerWithPopulatedDB

_handler[source]
get_new_questionnare(self, session)[source]

Returns first questionnare ID

setUp(self)[source]
test_duplicate_questionnaire(self)[source]