summaryrefslogtreecommitdiffstats
path: root/pykolab/tests/zpush/test_000_001.py
diff options
context:
space:
mode:
authorJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2010-11-15 23:41:53 +0000
committerJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2010-11-15 23:41:53 +0000
commit2179a1ff034888b263ec7d2c65550b55f1d2bf78 (patch)
tree5bc20d17718c0c14f8372a60f217ef6a433ec67d /pykolab/tests/zpush/test_000_001.py
parentdaa9aa9bbe533caa806eb7717fb1943adc8605f8 (diff)
downloadpykolab-2179a1ff034888b263ec7d2c65550b55f1d2bf78.tar.gz
Add comment and fix location for debugging message
Diffstat (limited to 'pykolab/tests/zpush/test_000_001.py')
-rw-r--r--pykolab/tests/zpush/test_000_001.py10
1 files changed, 9 insertions, 1 deletions
diff --git a/pykolab/tests/zpush/test_000_001.py b/pykolab/tests/zpush/test_000_001.py
index c06e5bf..c46d7e1 100644
--- a/pykolab/tests/zpush/test_000_001.py
+++ b/pykolab/tests/zpush/test_000_001.py
@@ -23,6 +23,13 @@ from pykolab.tests.constants import *
from pykolab.translate import _
class Test_000_001(object):
+ """
+ First, basic test.
+
+ Populate the previously created and existing INBOX, Calendar and Contact
+ folders with a limited amount of data.
+ """
+
def __init__(self, conf):
self.suite_num = "000"
self.suite_test_num = "001"
@@ -41,8 +48,9 @@ class Test_000_001(object):
self.conf.log.warning(_("Could not load %sItem from %s, skipping the testing.") %(item['name'].capitalize(),item['name']))
continue
+ self.conf.log.debug("self.conf.%s = %r" %(item['name'], getattr(self.conf, "%s" %(item['name']))), level=9)
+
if getattr(self.conf, "%s" %(item['name'])):
- self.conf.log.info("Would have populated %s a little" %(item['name'].capitalize()))
exec("create_%s_items(self.conf, num=%d)" %(item['name'],item['number']))
else:
self.conf.log.info("not executing %s" %(item['name'].capitalize()))