aboutsummaryrefslogtreecommitdiff
path: root/src/mailman_pgp/rules
diff options
context:
space:
mode:
authorJ08nY2017-07-07 18:04:14 +0200
committerJ08nY2017-07-07 18:04:14 +0200
commit0b18a7c76d82eef8ec3cf11dab29bf219aeb3035 (patch)
tree085fa94c18f696505d3e7fc892c7ebfa732fd71e /src/mailman_pgp/rules
parent45174af3b9b410102022cb5c335e42c7e0052b19 (diff)
downloadmailman-pgp-0b18a7c76d82eef8ec3cf11dab29bf219aeb3035.tar.gz
mailman-pgp-0b18a7c76d82eef8ec3cf11dab29bf219aeb3035.tar.zst
mailman-pgp-0b18a7c76d82eef8ec3cf11dab29bf219aeb3035.zip
Diffstat (limited to 'src/mailman_pgp/rules')
-rw-r--r--src/mailman_pgp/rules/tests/test_signature.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/mailman_pgp/rules/tests/test_signature.py b/src/mailman_pgp/rules/tests/test_signature.py
index 2f5881a..56baf08 100644
--- a/src/mailman_pgp/rules/tests/test_signature.py
+++ b/src/mailman_pgp/rules/tests/test_signature.py
@@ -49,19 +49,19 @@ class TestSignatureRule(TestCase):
self.pgp_list = PGPMailingList.for_list(self.mlist)
- sender_key = load_key('data/rsa_1024.pub.asc')
+ sender_key = load_key('rsa_1024.pub.asc')
with transaction() as t:
self.pgp_sender = PGPAddress(self.sender.preferred_address)
self.pgp_sender.key = sender_key
t.add(self.pgp_sender)
- self.msg_clear = load_message('data/clear.eml')
- self.msg_inline_signed = load_message('data/inline_signed.eml')
- self.msg_mime_signed = load_message('data/mime_signed.eml')
+ self.msg_clear = load_message('clear.eml')
+ self.msg_inline_signed = load_message('inline_signed.eml')
+ self.msg_mime_signed = load_message('mime_signed.eml')
self.msg_inline_signed_invalid = load_message(
- 'data/inline_cleartext_signed_invalid.eml')
+ 'inline_cleartext_signed_invalid.eml')
self.msg_mime_signed_invalid = load_message(
- 'data/mime_signed_invalid.eml')
+ 'mime_signed_invalid.eml')
def test_has_rule(self):
self.assertIn(Signature.name, mm_config.rules.keys())