[CalendarServer-changes] [12509] twext/trunk/twext/who/opendirectory/test/test_service.py
source_changes at macosforge.org
source_changes at macosforge.org
Wed Mar 12 11:20:26 PDT 2014
Revision: 12509
http://trac.calendarserver.org//changeset/12509
Author: wsanchez at apple.com
Date: 2014-01-31 12:58:02 -0800 (Fri, 31 Jan 2014)
Log Message:
-----------
guid field requires a UUID
Modified Paths:
--------------
twext/trunk/twext/who/opendirectory/test/test_service.py
Modified: twext/trunk/twext/who/opendirectory/test/test_service.py
===================================================================
--- twext/trunk/twext/who/opendirectory/test/test_service.py 2014-01-31 20:54:00 UTC (rev 12508)
+++ twext/trunk/twext/who/opendirectory/test/test_service.py 2014-01-31 20:58:02 UTC (rev 12509)
@@ -18,6 +18,8 @@
OpenDirectory service tests.
"""
+from uuid import UUID
+
from twisted.trial import unittest
from ...expression import (
@@ -141,7 +143,7 @@
matchType=MatchType.contains
),
MatchExpression(
- service.fieldName.guid, u"b",
+ service.fieldName.guid, UUID(int=0),
matchType=MatchType.contains
),
MatchExpression(
@@ -164,7 +166,8 @@
queryString,
(
u"(&(dsAttrTypeStandard:GeneratedUID=*a*)"
- u"(dsAttrTypeStandard:GeneratedUID=*b*)"
+ u"(dsAttrTypeStandard:GeneratedUID="
+ u"*00000000-0000-0000-0000-000000000000*)"
u"(dsAttrTypeStandard:RecordName=*c*)"
u"(dsAttrTypeStandard:EMailAddress=d*)"
u"(dsAttrTypeStandard:RealName=e))"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20140312/29e7e07f/attachment.html>
More information about the calendarserver-changes
mailing list