summaryrefslogtreecommitdiff
path: root/src/mailman/testing/layers.py
diff options
context:
space:
mode:
authorAbhilash Raj2014-10-02 20:16:00 +0530
committerAbhilash Raj2014-10-02 20:16:00 +0530
commit6d4af22c8ee51e1b097ec0370cadd3f5a6b95c08 (patch)
tree2f5a8b9723f670bdc4179f7dbdbb0322ab966fd9 /src/mailman/testing/layers.py
parent556631243a206f1680d6737227c34e2d66d85748 (diff)
parent5166ae93e5c51285661f4ac251c0d4b9390fe785 (diff)
downloadmailman-6d4af22c8ee51e1b097ec0370cadd3f5a6b95c08.tar.gz
mailman-6d4af22c8ee51e1b097ec0370cadd3f5a6b95c08.tar.zst
mailman-6d4af22c8ee51e1b097ec0370cadd3f5a6b95c08.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 3d2a50782..4a9841fc2 100644
--- a/src/mailman/testing/layers.py
+++ b/src/mailman/testing/layers.py
@@ -190,9 +190,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)