summaryrefslogtreecommitdiffstats
path: root/tests/unit/test-011-wallace_resources.py
diff options
context:
space:
mode:
authorAleksander Machniak <machniak@kolabsys.com>2016-04-14 11:39:43 +0200
committerJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2016-04-14 11:39:43 +0200
commit7f7f0dfb814baffa68c1a2cceaedb1752db60b9a (patch)
treebdba78f90c8dc6eabeea539ead02d53337811b2e /tests/unit/test-011-wallace_resources.py
parenta97671344872a40308ce709b2a8810bee37b4d83 (diff)
downloadpykolab-7f7f0dfb814baffa68c1a2cceaedb1752db60b9a.tar.gz
Event/Todo 'created' property is mandatory now, fixes unit tests (T1182)
Summary: Fixes T1182 Reviewers: #pykolab_developers, vanmeeuwen Reviewed By: #pykolab_developers, vanmeeuwen Maniphest Tasks: T1182 Differential Revision: https://git.kolab.org/D127
Diffstat (limited to 'tests/unit/test-011-wallace_resources.py')
-rw-r--r--tests/unit/test-011-wallace_resources.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/unit/test-011-wallace_resources.py b/tests/unit/test-011-wallace_resources.py
index 511a170..dd7834b 100644
--- a/tests/unit/test-011-wallace_resources.py
+++ b/tests/unit/test-011-wallace_resources.py
@@ -117,7 +117,7 @@ class TestWallaceResources(unittest.TestCase):
def _mock_find_resource(self, address):
if not 'resource' in address:
- return None
+ return [];
(prefix, domain) = address.split('@')
entry_dn = "cn=" + prefix + ",ou=Resources,dc=" + ",dc=".join(domain.split('.'))