summaryrefslogtreecommitdiff
path: root/src/mailman/model/tests/test_mailinglist.py
diff options
context:
space:
mode:
authorBarry Warsaw2016-11-26 05:05:45 +0000
committerBarry Warsaw2016-11-26 05:05:45 +0000
commitada923b841f9c6d86a397d1ffcd7532ce9dc20dc (patch)
tree05ff6a88413597e911e74c5b42d54a5874469eae /src/mailman/model/tests/test_mailinglist.py
parentb4c663e717f702f0ffe8a3bc9207b2eda635a32d (diff)
parentaccc4f1a883d4a5757eb9b0156e58e72b77a8af7 (diff)
downloadmailman-ada923b841f9c6d86a397d1ffcd7532ce9dc20dc.tar.gz
mailman-ada923b841f9c6d86a397d1ffcd7532ce9dc20dc.tar.zst
mailman-ada923b841f9c6d86a397d1ffcd7532ce9dc20dc.zip
Diffstat (limited to 'src/mailman/model/tests/test_mailinglist.py')
-rw-r--r--src/mailman/model/tests/test_mailinglist.py14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/mailman/model/tests/test_mailinglist.py b/src/mailman/model/tests/test_mailinglist.py
index 0a5c8a5e9..658ffc7d1 100644
--- a/src/mailman/model/tests/test_mailinglist.py
+++ b/src/mailman/model/tests/test_mailinglist.py
@@ -121,11 +121,11 @@ class TestListArchiver(unittest.TestCase):
def test_get_archiver(self):
# Use .get() to see if a mailing list has an archiver.
- archiver = self._set.get('prototype')
- self.assertEqual(archiver.name, 'prototype')
+ archiver = self._set.get('mhonarc')
+ self.assertEqual(archiver.name, 'mhonarc')
self.assertTrue(archiver.is_enabled)
self.assertEqual(archiver.mailing_list, self._mlist)
- self.assertEqual(archiver.system_archiver.name, 'prototype')
+ self.assertEqual(archiver.system_archiver.name, 'mhonarc')
def test_get_archiver_no_such(self):
# Using .get() on a non-existing name returns None.
@@ -137,15 +137,15 @@ class TestListArchiver(unittest.TestCase):
# then the site-wide archiver gets disabled, so the list specific
# archiver will also be disabled.
archiver_set = IListArchiverSet(self._mlist)
- archiver = archiver_set.get('prototype')
+ archiver = archiver_set.get('mhonarc')
self.assertTrue(archiver.is_enabled)
# Disable the site-wide archiver.
- config.push('enable prototype', """\
- [archiver.prototype]
+ config.push('enable mhonarc', """\
+ [archiver.mhonarc]
enable: no
""")
self.assertFalse(archiver.is_enabled)
- config.pop('enable prototype')
+ config.pop('enable mhonarc')
class TestDisabledListArchiver(unittest.TestCase):