summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2013-02-08 21:03:25 +0100
committerJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2013-02-08 21:03:25 +0100
commit03254dd34f7da4780c4fe356a1af2f956398df11 (patch)
tree00fa7f5337b2725a1deeaaaeaf46a53ccb655035 /tests
parent735b07582b67fd06bfbb27a27f8aa3a2cda99702 (diff)
downloadpykolab-03254dd34f7da4780c4fe356a1af2f956398df11.tar.gz
Make sure the tests clean up after themselves
Diffstat (limited to 'tests')
-rw-r--r--tests/functional/test_wallace/test_002_footer.py8
-rw-r--r--tests/functional/test_wallace/test_003_nonascii_subject.py8
-rw-r--r--tests/functional/test_wallace/test_004_nonascii_addresses.py8
3 files changed, 12 insertions, 12 deletions
diff --git a/tests/functional/test_wallace/test_002_footer.py b/tests/functional/test_wallace/test_002_footer.py
index f9568c2..f888eb0 100644
--- a/tests/functional/test_wallace/test_002_footer.py
+++ b/tests/functional/test_wallace/test_002_footer.py
@@ -54,10 +54,10 @@ class TestWallaceFooter(unittest.TestCase):
from tests.functional.synchronize import synchronize_once
synchronize_once()
-# @classmethod
-# def teardown_class(self, *args, **kw):
-# from tests.functional.purge_users import purge_users
-# purge_users()
+ @classmethod
+ def teardown_class(self, *args, **kw):
+ from tests.functional.purge_users import purge_users
+ purge_users()
def check_message_delivered(self, subject):
imap = IMAP()
diff --git a/tests/functional/test_wallace/test_003_nonascii_subject.py b/tests/functional/test_wallace/test_003_nonascii_subject.py
index 06028ce..ff21aee 100644
--- a/tests/functional/test_wallace/test_003_nonascii_subject.py
+++ b/tests/functional/test_wallace/test_003_nonascii_subject.py
@@ -43,10 +43,10 @@ class TestWallaceNonASCIISubject(unittest.TestCase):
from tests.functional.synchronize import synchronize_once
synchronize_once()
-# @classmethod
-# def teardown_class(self, *args, **kw):
-# from tests.functional.purge_users import purge_users
-# purge_users()
+ @classmethod
+ def teardown_class(self, *args, **kw):
+ from tests.functional.purge_users import purge_users
+ purge_users()
def check_message_delivered(self, subject):
imap = IMAP()
diff --git a/tests/functional/test_wallace/test_004_nonascii_addresses.py b/tests/functional/test_wallace/test_004_nonascii_addresses.py
index b37e746..45df30e 100644
--- a/tests/functional/test_wallace/test_004_nonascii_addresses.py
+++ b/tests/functional/test_wallace/test_004_nonascii_addresses.py
@@ -43,10 +43,10 @@ class TestWallaceNonASCIIAddresses(unittest.TestCase):
from tests.functional.synchronize import synchronize_once
synchronize_once()
-# @classmethod
-# def teardown_class(self, *args, **kw):
-# from tests.functional.purge_users import purge_users
-# purge_users()
+ @classmethod
+ def teardown_class(self, *args, **kw):
+ from tests.functional.purge_users import purge_users
+ purge_users()
def check_message_delivered(self, subject):
imap = IMAP()