summaryrefslogtreecommitdiffstats
path: root/pykolab/tests/zpush/test_000_001.py
diff options
context:
space:
mode:
authorJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2011-04-11 11:52:29 +0100
committerJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2011-04-11 11:52:29 +0100
commita44f887e6609d46f39c6f4266a175dce1671d2a0 (patch)
tree18da56c093696b9017eec0d62be44ba25339c797 /pykolab/tests/zpush/test_000_001.py
parentde8818dd793a1b1caff98be0ff03fc3e032f9f92 (diff)
downloadpykolab-a44f887e6609d46f39c6f4266a175dce1671d2a0.tar.gz
Pull out auth and conf from becoming multi-instance all over the place. One of each suffices.
Clean up imap module, along with making the imap.cyrus module work better
Diffstat (limited to 'pykolab/tests/zpush/test_000_001.py')
-rw-r--r--pykolab/tests/zpush/test_000_001.py13
1 files changed, 6 insertions, 7 deletions
diff --git a/pykolab/tests/zpush/test_000_001.py b/pykolab/tests/zpush/test_000_001.py
index c7bfbb6..204aba3 100644
--- a/pykolab/tests/zpush/test_000_001.py
+++ b/pykolab/tests/zpush/test_000_001.py
@@ -17,11 +17,16 @@
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#
-from pykolab.conf import Conf
+import pykolab
+
+from pykolab import utils
from pykolab.constants import *
from pykolab.tests.constants import *
from pykolab.translate import _
+log = pykolab.getLogger('pykolab.tests.zpush')
+conf = pykolab.getConf()
+
class Test_000_001(object):
"""
First, basic test.
@@ -34,12 +39,6 @@ class Test_000_001(object):
self.suite_num = "000"
self.suite_test_num = "001"
- if not conf:
- self.conf = Conf()
- self.conf.finalize_conf()
- else:
- self.conf = conf
-
# Create some test calendar items
for item in TEST_ITEMS:
try: