backend.globaleaks.tests.handlers.test_submission

Module Contents

Classes

TestSubmissionEncryptedScenario
TestSubmissionTokenInteract
TestSubmissionEncryptedScenarioOneKeyExpired
TestSubmissionEncryptedScenarioOneKeyMissing
TestSubmissionMixedScenario
TestSubmissionPlaintextScenario
class backend.globaleaks.tests.handlers.test_submission.TestSubmissionEncryptedScenario[source]

Bases: globaleaks.tests.helpers.TestHandlerWithPopulatedDB

_handler[source]
complex_field_population = True[source]
encryption_scenario = ENCRYPTED[source]
files_created = 6[source]
counters_check[source]
setUp(self)[source]
create_submission(self, request)[source]
create_submission_with_files(self, request)[source]
test_create_submission_with_no_recipients(self)[source]
test_create_simple_submission(self)[source]
test_create_submission_attach_files_finalize_and_verify_file_creation(self)[source]
test_update_submission(self)[source]
class backend.globaleaks.tests.handlers.test_submission.TestSubmissionTokenInteract[source]

Bases: globaleaks.tests.helpers.TestHandlerWithPopulatedDB

_handler[source]
test_token_must_be_solved(self)[source]
test_token_reuse_blocked(self)[source]
class backend.globaleaks.tests.handlers.test_submission.TestSubmissionEncryptedScenarioOneKeyExpired[source]

Bases: backend.globaleaks.tests.handlers.test_submission.TestSubmissionEncryptedScenario

encryption_scenario = ENCRYPTED_WITH_ONE_KEY_EXPIRED[source]
files_created = 6[source]
counters_check[source]
class backend.globaleaks.tests.handlers.test_submission.TestSubmissionEncryptedScenarioOneKeyMissing[source]

Bases: backend.globaleaks.tests.handlers.test_submission.TestSubmissionEncryptedScenario

encryption_scenario = ENCRYPTED_WITH_ONE_KEY_MISSING[source]
files_created = 6[source]
counters_check[source]
class backend.globaleaks.tests.handlers.test_submission.TestSubmissionMixedScenario[source]

Bases: backend.globaleaks.tests.handlers.test_submission.TestSubmissionEncryptedScenario

encryption_scenario = MIXED[source]
files_created = 6[source]
counters_check[source]
class backend.globaleaks.tests.handlers.test_submission.TestSubmissionPlaintextScenario[source]

Bases: backend.globaleaks.tests.handlers.test_submission.TestSubmissionEncryptedScenario

encryption_scenario = PLAINTEXT[source]
files_created = 6[source]
counters_check[source]