[CalendarServer-changes] [12520] twext/trunk/twext/who
source_changes at macosforge.org
source_changes at macosforge.org
Wed Mar 12 11:21:29 PDT 2014
Revision: 12520
http://trac.calendarserver.org//changeset/12520
Author: wsanchez at apple.com
Date: 2014-01-31 14:22:32 -0800 (Fri, 31 Jan 2014)
Log Message:
-----------
Rename UnknownRecordType -> UnknownConstant.
Modified Paths:
--------------
twext/trunk/twext/who/ldap/test/test_service.py
twext/trunk/twext/who/test/test_xml.py
Modified: twext/trunk/twext/who/ldap/test/test_service.py
===================================================================
--- twext/trunk/twext/who/ldap/test/test_service.py 2014-01-31 22:08:56 UTC (rev 12519)
+++ twext/trunk/twext/who/ldap/test/test_service.py 2014-01-31 22:22:32 UTC (rev 12520)
@@ -52,7 +52,7 @@
DirectoryServiceRealmTestMixIn,
DirectoryServiceQueryTestMixIn as BaseDirectoryServiceQueryTestMixIn,
DirectoryServiceMutableTestMixIn as BaseDirectoryServiceMutableTestMixIn,
- UnknownRecordType,
+ UnknownConstant,
)
@@ -124,7 +124,7 @@
self.assertRaises(
QueryNotSupportedError,
- service.recordsWithRecordType, UnknownRecordType.unknown
+ service.recordsWithRecordType, UnknownConstant.unknown
)
Modified: twext/trunk/twext/who/test/test_xml.py
===================================================================
--- twext/trunk/twext/who/test/test_xml.py 2014-01-31 22:08:56 UTC (rev 12519)
+++ twext/trunk/twext/who/test/test_xml.py 2014-01-31 22:22:32 UTC (rev 12520)
@@ -90,7 +90,7 @@
service = self.service()
records = (
- yield service.recordsWithRecordType(UnknownRecordType.unknown)
+ yield service.recordsWithRecordType(UnknownConstant.unknown)
)
self.assertEquals(set(records), set())
@@ -902,7 +902,7 @@
-class UnknownRecordType(Names):
+class UnknownConstant(Names):
unknown = NamedConstant()
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20140312/e06c1495/attachment.html>
More information about the calendarserver-changes
mailing list