mailman_pgp.rules.tests package

Submodules

mailman_pgp.rules.tests.test_encryption module

class mailman_pgp.rules.tests.test_encryption.TestPGPEncryptionRule(methodName='runTest')[source]

Bases: unittest.case.TestCase

layer

alias of PGPConfigLayer

setUp()[source]
test_has_rule()[source]
test_matches()[source]

mailman_pgp.rules.tests.test_signature module

class mailman_pgp.rules.tests.test_signature.TestPGPSignatureRule(methodName='runTest')[source]

Bases: unittest.case.TestCase

assertAction(msgdata, action, reasons)[source]
layer

alias of PGPConfigLayer

setUp()[source]
test_duplicate_sig_action()[source]
test_expired_sig_action()[source]
test_has_rule()[source]
test_inline_pgp_action()[source]
test_invalid_sig_action()[source]
test_key_not_confirmed()[source]
test_no_address()[source]
test_no_key()[source]
test_no_pgp_list()[source]
test_revoked_sig_action()[source]
test_unsigned_action()[source]
class mailman_pgp.rules.tests.test_signature.TestPostingEvent(methodName='runTest')[source]

Bases: unittest.case.TestCase

layer

alias of PGPConfigLayer

setUp()[source]
test_no_collect()[source]
test_no_pgp_address()[source]
test_no_pgp_list()[source]
test_sighashes_added()[source]

Module contents