[CalendarServer-changes] [13058] twext/trunk/twext/who/test/test_xml.py

source_changes at macosforge.org source_changes at macosforge.org
Mon Mar 31 12:35:17 PDT 2014


Revision: 13058
          http://trac.calendarserver.org//changeset/13058
Author:   sagen at apple.com
Date:     2014-03-31 12:35:17 -0700 (Mon, 31 Mar 2014)
Log Message:
-----------
round trip of empty string through updateRecords doesn't work

Modified Paths:
--------------
    twext/trunk/twext/who/test/test_xml.py

Modified: twext/trunk/twext/who/test/test_xml.py
===================================================================
--- twext/trunk/twext/who/test/test_xml.py	2014-03-31 18:22:48 UTC (rev 13057)
+++ twext/trunk/twext/who/test/test_xml.py	2014-03-31 19:35:17 UTC (rev 13058)
@@ -597,6 +597,7 @@
                 service.fieldName.uid: u"__plugh__",
                 service.fieldName.recordType: service.recordType.user,
                 service.fieldName.shortNames: (u"plugh",),
+                service.fieldName.password: u"",
             }
         )
 
@@ -605,6 +606,7 @@
         # Verify change is present immediately
         record = (yield service.recordWithUID(u"__plugh__"))
         self.assertEquals(set(record.shortNames), set((u"plugh",)))
+        self.assertEquals(record.password, u"")
 
         # Verify change is persisted
         service.flush()
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20140331/f223050e/attachment.html>


More information about the calendarserver-changes mailing list