summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorThomas Bruederli <bruederli@kolabsys.com>2015-02-02 17:32:28 +0100
committerThomas Bruederli <bruederli@kolabsys.com>2015-02-02 17:32:28 +0100
commit6648f7334a89b18411b8db8f515dfe9e18146c62 (patch)
treebc306ab75d48175df7d5097459ba00a0ac8c62cc /tests
parenta1a769f85092ced2572ab2d7782e4504e30bb379 (diff)
downloadpykolab-6648f7334a89b18411b8db8f515dfe9e18146c62.tar.gz
Add compatibility with twisted.trial
Diffstat (limited to 'tests')
-rw-r--r--tests/functional/test_wallace/test_002_footer.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/functional/test_wallace/test_002_footer.py b/tests/functional/test_wallace/test_002_footer.py
index ac3e1ba..4c1599c 100644
--- a/tests/functional/test_wallace/test_002_footer.py
+++ b/tests/functional/test_wallace/test_002_footer.py
@@ -18,6 +18,14 @@ from pykolab.imap import IMAP
conf = pykolab.getConf()
class TestWallaceFooter(unittest.TestCase):
+ user = None
+
+ @classmethod
+ def setUp(self):
+ """ Compatibility for twisted.trial.unittest
+ """
+ if not self.user:
+ self.setup_class()
@classmethod
def setup_class(self, *args, **kw):