diff options
Diffstat (limited to 'src/mailman/testing/helpers.py')
| -rw-r--r-- | src/mailman/testing/helpers.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mailman/testing/helpers.py b/src/mailman/testing/helpers.py index 9f9e28dc6..af49c35af 100644 --- a/src/mailman/testing/helpers.py +++ b/src/mailman/testing/helpers.py @@ -46,6 +46,7 @@ import mock import time import uuid import errno +import shutil import signal import socket import logging @@ -482,6 +483,7 @@ def reset_the_world(): for dirpath, dirnames, filenames in os.walk(config.MESSAGES_DIR): for filename in filenames: os.remove(os.path.join(dirpath, filename)) + shutil.rmtree(dirpath) # Reset the global style manager. getUtility(IStyleManager).populate() # Remove all dynamic header-match rules. |
