diff options
| author | Barry Warsaw | 2013-12-01 17:28:02 -0500 |
|---|---|---|
| committer | Barry Warsaw | 2013-12-01 17:28:02 -0500 |
| commit | ac958ab67ee86d86302d27a97ce0cb8d2cc8c832 (patch) | |
| tree | 4a2cca4e42cb21ae6772ca6bae2a9ad9b4337b63 /src/mailman/testing/helpers.py | |
| parent | 5a3ffbdafa682daf5ba75ac616cabb26df7c102f (diff) | |
| download | mailman-ac958ab67ee86d86302d27a97ce0cb8d2cc8c832.tar.gz mailman-ac958ab67ee86d86302d27a97ce0cb8d2cc8c832.tar.zst mailman-ac958ab67ee86d86302d27a97ce0cb8d2cc8c832.zip | |
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. |
