[CalendarServer-changes] [6151] CalendarServer/trunk/txdav/propertystore/test/test_xattr.py

source_changes at macosforge.org source_changes at macosforge.org
Fri Aug 20 09:16:23 PDT 2010


Revision: 6151
          http://trac.macosforge.org/projects/calendarserver/changeset/6151
Author:   glyph at apple.com
Date:     2010-08-20 09:16:22 -0700 (Fri, 20 Aug 2010)
Log Message:
-----------
fix unit tests

Modified Paths:
--------------
    CalendarServer/trunk/txdav/propertystore/test/test_xattr.py

Modified: CalendarServer/trunk/txdav/propertystore/test/test_xattr.py
===================================================================
--- CalendarServer/trunk/txdav/propertystore/test/test_xattr.py	2010-08-20 16:08:37 UTC (rev 6150)
+++ CalendarServer/trunk/txdav/propertystore/test/test_xattr.py	2010-08-20 16:16:22 UTC (rev 6151)
@@ -39,8 +39,11 @@
         tempDir.makedirs()
         tempFile = tempDir.child("test")
         tempFile.touch()
-        self.propertyStore = self.propertyStore1 = PropertyStore("user01", "user01", lambda : tempFile)
-        self.propertyStore2 = PropertyStore("user02", "user01", lambda : tempFile)
+        self.propertyStore = self.propertyStore1 = PropertyStore(
+            "user01", lambda : tempFile
+        )
+        self.propertyStore2 = PropertyStore("user01", lambda : tempFile)
+        self.propertyStore2._setPerUserUID("user02")
 
     def test_init(self):
         store = self.propertyStore
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20100820/70ab5a06/attachment.html>


More information about the calendarserver-changes mailing list