aboutsummaryrefslogtreecommitdiff
path: root/src/mailman_pgp/runners/tests/test_incoming.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/mailman_pgp/runners/tests/test_incoming.py')
-rw-r--r--src/mailman_pgp/runners/tests/test_incoming.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mailman_pgp/runners/tests/test_incoming.py b/src/mailman_pgp/runners/tests/test_incoming.py
index b03f149..48e9ae4 100644
--- a/src/mailman_pgp/runners/tests/test_incoming.py
+++ b/src/mailman_pgp/runners/tests/test_incoming.py
@@ -106,7 +106,7 @@ Some text.
mm_config.switchboards['in'].enqueue(self.msg_clear, msgdata)
self.runner.run()
items = get_queue_messages('in_default', expected_count=1)
- self.assertEqual(items[0].msgdata['moderation_action'],
+ self.assertEqual(items[0].msgdata['pgp_action'],
Action.hold.name)
self.assertEqual(items[0].msgdata['moderation_sender'],
self.msg_clear.sender)
@@ -181,7 +181,7 @@ To: test@example.com
msgdata)
self.runner.run()
items = get_queue_messages('in_default', expected_count=1)
- self.assertEqual(items[0].msgdata['moderation_action'],
+ self.assertEqual(items[0].msgdata['pgp_action'],
Action.reject.name)
self.assertEqual(items[0].msgdata['moderation_sender'],
msg.sender)