diff options
author | Thomas Bruederli <bruederli@kolabsys.com> | 2015-02-02 17:32:28 +0100 |
---|---|---|
committer | Thomas Bruederli <bruederli@kolabsys.com> | 2015-02-02 17:32:28 +0100 |
commit | 6648f7334a89b18411b8db8f515dfe9e18146c62 (patch) | |
tree | bc306ab75d48175df7d5097459ba00a0ac8c62cc | |
parent | a1a769f85092ced2572ab2d7782e4504e30bb379 (diff) | |
download | pykolab-6648f7334a89b18411b8db8f515dfe9e18146c62.tar.gz |
Add compatibility with twisted.trial
-rw-r--r-- | tests/functional/test_wallace/test_002_footer.py | 8 |
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): |