[CalendarServer-changes] [9334] CalendarServer/trunk/twistedcaldav/directory/test/ test_proxyprincipaldb.py

source_changes at macosforge.org source_changes at macosforge.org
Tue Jun 5 17:35:43 PDT 2012


Revision: 9334
          http://trac.macosforge.org/projects/calendarserver/changeset/9334
Author:   glyph at apple.com
Date:     2012-06-05 17:35:42 -0700 (Tue, 05 Jun 2012)
Log Message:
-----------
Test cases should not be using self.execute to create tables, that assumes an
automatic open and bad stuff happens (tests fail).

Modified Paths:
--------------
    CalendarServer/trunk/twistedcaldav/directory/test/test_proxyprincipaldb.py

Modified: CalendarServer/trunk/twistedcaldav/directory/test/test_proxyprincipaldb.py
===================================================================
--- CalendarServer/trunk/twistedcaldav/directory/test/test_proxyprincipaldb.py	2012-06-05 23:42:39 UTC (rev 9333)
+++ CalendarServer/trunk/twistedcaldav/directory/test/test_proxyprincipaldb.py	2012-06-06 00:35:42 UTC (rev 9334)
@@ -46,7 +46,7 @@
             #
             # GROUPS table
             #
-            return self.execute(
+            return self._db_execute(
                 """
                 create table GROUPS (
                     GROUPNAME   text,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20120605/4edfb65c/attachment-0001.html>


More information about the calendarserver-changes mailing list