[CalendarServer-changes] [8662] CalendarServer/branches/users/glyph/table-alias

source_changes at macosforge.org source_changes at macosforge.org
Mon Feb 13 10:03:58 PST 2012


Revision: 8662
          http://trac.macosforge.org/projects/calendarserver/changeset/8662
Author:   glyph at apple.com
Date:     2012-02-13 10:03:57 -0800 (Mon, 13 Feb 2012)
Log Message:
-----------
whitespace

Modified Paths:
--------------
    CalendarServer/branches/users/glyph/table-alias/txdav/caldav/datastore/test/test_util.py

Property Changed:
----------------
    CalendarServer/branches/users/glyph/table-alias/

Modified: CalendarServer/branches/users/glyph/table-alias/txdav/caldav/datastore/test/test_util.py
===================================================================
--- CalendarServer/branches/users/glyph/table-alias/txdav/caldav/datastore/test/test_util.py	2012-02-13 18:03:55 UTC (rev 8661)
+++ CalendarServer/branches/users/glyph/table-alias/txdav/caldav/datastore/test/test_util.py	2012-02-13 18:03:57 UTC (rev 8662)
@@ -242,14 +242,13 @@
 """)
 
         self.assertEquals(
-            (yield dropboxIDFromCalendarObject(resource)), 
+            (yield dropboxIDFromCalendarObject(resource)),
             "12345-67890.dropbox"
         )
 
 
     @inlineCallbacks
     def test_UIDbadPath(self):
-        
         test_UIDs = (
             ("12345/67890", "12345-67890"),
             ("http://12345,67890", "12345,67890"),
@@ -270,16 +269,18 @@
 END:VEVENT
 END:VCALENDAR
 """ % (uid,))
-    
+
             self.assertEquals(
                 (yield dropboxIDFromCalendarObject(resource)),
                 "%s.dropbox" % (result,),
             )
 
+
+
 class StorageTransportTests(TestCase):
 
     def test_MissingContentType(self):
-        
+
         test_files = (
             ("plain.txt", MimeType.fromString("text/plain"),),
             ("word.doc", MimeType.fromString("application/msword"),),
@@ -289,15 +290,18 @@
         )
 
         class FakeAttachment(object):
-            
+
             def __init__(self, name):
                 self._name = name
-            
+
             def name(self):
                 return self._name
-    
+
         for filename, result in test_files:
             item = StorageTransportBase(FakeAttachment(filename), None)
             self.assertEquals(item._contentType, result)
             item = StorageTransportBase(FakeAttachment(filename), result)
             self.assertEquals(item._contentType, result)
+
+
+
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20120213/8e7d2b93/attachment.html>


More information about the calendarserver-changes mailing list