aboutsummaryrefslogtreecommitdiff
path: root/src/mailman_pgp/archivers/tests/test_mbox.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/mailman_pgp/archivers/tests/test_mbox.py')
-rw-r--r--src/mailman_pgp/archivers/tests/test_mbox.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mailman_pgp/archivers/tests/test_mbox.py b/src/mailman_pgp/archivers/tests/test_mbox.py
index fde0e50..50b7113 100644
--- a/src/mailman_pgp/archivers/tests/test_mbox.py
+++ b/src/mailman_pgp/archivers/tests/test_mbox.py
@@ -66,6 +66,8 @@ but the water deserves to be swum.
def test_archives(self):
with TemporaryDirectory() as mailbox_dir:
+ self.addCleanup(config.set, 'archiving', 'mailbox_dir',
+ config.get('archiving', 'mailbox_dir'))
config.set('archiving', 'mailbox_dir', mailbox_dir)
LocalMailboxArchiver.archive_message(self.mlist, self.msg)