[CalendarServer-changes] [4636] CalendarServer/branches/more-deferreds-3/twistedcaldav/directory/ test/test_proxyprincipalmembers.py

source_changes at macosforge.org source_changes at macosforge.org
Sun Oct 25 16:59:40 PDT 2009


Revision: 4636
          http://trac.macosforge.org/projects/calendarserver/changeset/4636
Author:   glyph at apple.com
Date:     2009-10-25 16:59:38 -0700 (Sun, 25 Oct 2009)
Log Message:
-----------
make test_proxyprincipalmembers pass.

Modified Paths:
--------------
    CalendarServer/branches/more-deferreds-3/twistedcaldav/directory/test/test_proxyprincipalmembers.py

Modified: CalendarServer/branches/more-deferreds-3/twistedcaldav/directory/test/test_proxyprincipalmembers.py
===================================================================
--- CalendarServer/branches/more-deferreds-3/twistedcaldav/directory/test/test_proxyprincipalmembers.py	2009-10-25 23:53:20 UTC (rev 4635)
+++ CalendarServer/branches/more-deferreds-3/twistedcaldav/directory/test/test_proxyprincipalmembers.py	2009-10-25 23:59:38 UTC (rev 4636)
@@ -115,7 +115,7 @@
     def _proxyForTest(self, recordType, recordName, expectedProxies, read_write):
         principal = (yield self._getPrincipalByShortName(recordType, recordName))
         proxies = (yield principal.proxyFor(read_write))
-        proxies = set([principal.displayName() for principal in proxies])
+        proxies = set([(yield principal.displayName()) for principal in proxies])
         self.assertEquals(proxies, set(expectedProxies))
 
     def test_groupMembersRegular(self):
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20091025/28818be3/attachment.html>


More information about the calendarserver-changes mailing list