summaryrefslogtreecommitdiff
path: root/src/mailman/model
diff options
context:
space:
mode:
authorBarry Warsaw2013-11-26 17:07:11 -0500
committerBarry Warsaw2013-11-26 17:07:11 -0500
commit177d3f81f4c786ad51083dfce6c4a5fd127693bd (patch)
treed4ae3568314fba0b194cdea7722284d7afd06724 /src/mailman/model
parent833633741f110354408b3e0cfd7f733a2541e97c (diff)
downloadmailman-177d3f81f4c786ad51083dfce6c4a5fd127693bd.tar.gz
mailman-177d3f81f4c786ad51083dfce6c4a5fd127693bd.tar.zst
mailman-177d3f81f4c786ad51083dfce6c4a5fd127693bd.zip
More fixes.
Diffstat (limited to 'src/mailman/model')
-rw-r--r--src/mailman/model/tests/test_mailinglist.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/mailman/model/tests/test_mailinglist.py b/src/mailman/model/tests/test_mailinglist.py
index 09c4cb38f..b2dbbf1ca 100644
--- a/src/mailman/model/tests/test_mailinglist.py
+++ b/src/mailman/model/tests/test_mailinglist.py
@@ -70,8 +70,12 @@ class TestListArchiver(unittest.TestCase):
archiver = archiver_set.get('prototype')
self.assertTrue(archiver.is_enabled)
# Disable the site-wide archiver.
- archiver.system_archiver.is_enabled = False
+ config.push('enable prototype', """\
+ [archiver.prototype]
+ enable: no
+ """)
self.assertFalse(archiver.is_enabled)
+ config.pop('enable prototype')