summaryrefslogtreecommitdiff
path: root/src/mailman/testing/layers.py
diff options
context:
space:
mode:
authorAurélien Bompard2014-10-06 15:58:58 +0200
committerAurélien Bompard2014-10-06 15:58:58 +0200
commit506b0fff2b4b1f068223d6e9cdfb254fd53bcdac (patch)
treed5c4e598fccf67c133179c4d1156252a61c4b8dc /src/mailman/testing/layers.py
parentcbbac03083357ca928d104d386d9e3008c937581 (diff)
parent061799ef5031977bd343bbe54a6ad809138bdb45 (diff)
downloadmailman-506b0fff2b4b1f068223d6e9cdfb254fd53bcdac.tar.gz
mailman-506b0fff2b4b1f068223d6e9cdfb254fd53bcdac.tar.zst
mailman-506b0fff2b4b1f068223d6e9cdfb254fd53bcdac.zip
Diffstat (limited to 'src/mailman/testing/layers.py')
-rw-r--r--src/mailman/testing/layers.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mailman/testing/layers.py b/src/mailman/testing/layers.py
index 68cb07f8c..c1346b29f 100644
--- a/src/mailman/testing/layers.py
+++ b/src/mailman/testing/layers.py
@@ -195,9 +195,9 @@ class ConfigLayer(MockAndMonkeyLayer):
@classmethod
def tearDown(cls):
assert cls.var_dir is not None, 'Layer not set up'
- # Reset the test database after the tests are done so that there
- # is no data incase the tests are rerun with a database layer like
- # mysql or postgresql which are not deleted in teardown.
+ # Reset the test database after the tests are done so that there is no
+ # data in case the tests are rerun with a database layer like mysql or
+ # postgresql which are not deleted in teardown.
reset_the_world()
config.pop('test config')
shutil.rmtree(cls.var_dir)