backend.globaleaks.tests.handlers.admin.test_node

Module Contents

Functions

set_receiver_acl_flag_true(session, rcvr_id)
get_config_value(session, tid, config_key)
backend.globaleaks.tests.handlers.admin.test_node.set_receiver_acl_flag_true(session, rcvr_id)[source]
backend.globaleaks.tests.handlers.admin.test_node.get_config_value(session, tid, config_key)[source]
class backend.globaleaks.tests.handlers.admin.test_node.TestNodeInstance[source]

Bases: globaleaks.tests.helpers.TestHandlerWithPopulatedDB

_handler[source]
setUp(self)[source]
test_get(self)[source]
test_get_receiver_general_settings_acl(self)[source]

Confirm receivers can read general settings ACL

test_confirm_fail_receiver_acl_cleared(self)[source]
test_put_update_node(self)[source]
test_put_update_node_invalid_lang(self)[source]
test_put_update_node_languages_with_default_not_compatible_with_enabled(self)[source]
test_put_update_node_languages_removing_en_adding_fr(self)[source]
test_update_ignored_fields(self)[source]
test_receiver_general_settings_update_field(self)[source]

Confirm fields out of the receiver’s set updates

test_receiver_confirm_failure_for_priv_fields_updates(self)[source]

Confirm privelleged fields are ignored