summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBarry Warsaw2016-01-25 15:24:48 -0500
committerBarry Warsaw2016-01-25 15:24:48 -0500
commit57a07393e984dbbc356bc05f0c6801ffe1536b47 (patch)
tree2c828a1440be7fb76cc717422818dc500a500f2d /src
parente2e962ab7c298f6706ce50f981c2e27a0286c271 (diff)
downloadmailman-57a07393e984dbbc356bc05f0c6801ffe1536b47.tar.gz
mailman-57a07393e984dbbc356bc05f0c6801ffe1536b47.tar.zst
mailman-57a07393e984dbbc356bc05f0c6801ffe1536b47.zip
Diffstat (limited to 'src')
-rw-r--r--src/mailman/chains/tests/test_accept.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/mailman/chains/tests/test_accept.py b/src/mailman/chains/tests/test_accept.py
index 0ec912d4f..62370021d 100644
--- a/src/mailman/chains/tests/test_accept.py
+++ b/src/mailman/chains/tests/test_accept.py
@@ -43,9 +43,8 @@ class MyChain:
def get_links(self, mlist, msg, msgdata):
def set_hits(mlist, msg, msgdata):
msgdata['rule_hits'] = ['first', 'second', 'third']
- truth = config.rules['truth']
- yield Link(truth, LinkAction.run, function=set_hits)
- yield Link(truth, LinkAction.jump, config.chains['accept'])
+ yield Link('truth', LinkAction.run, function=set_hits)
+ yield Link('truth', LinkAction.jump, 'accept')