[CalendarServer-changes] [14429] CalendarServer/branches/users/wsanchez/psycopg2cffi/txdav/base/ datastore/test/test_subpostgres.py
source_changes at macosforge.org
source_changes at macosforge.org
Wed Feb 18 14:04:40 PST 2015
Revision: 14429
http://trac.calendarserver.org//changeset/14429
Author: wsanchez at apple.com
Date: 2015-02-18 14:04:40 -0800 (Wed, 18 Feb 2015)
Log Message:
-----------
lint
Modified Paths:
--------------
CalendarServer/branches/users/wsanchez/psycopg2cffi/txdav/base/datastore/test/test_subpostgres.py
Modified: CalendarServer/branches/users/wsanchez/psycopg2cffi/txdav/base/datastore/test/test_subpostgres.py
===================================================================
--- CalendarServer/branches/users/wsanchez/psycopg2cffi/txdav/base/datastore/test/test_subpostgres.py 2015-02-18 22:00:58 UTC (rev 14428)
+++ CalendarServer/branches/users/wsanchez/psycopg2cffi/txdav/base/datastore/test/test_subpostgres.py 2015-02-18 22:04:40 UTC (rev 14429)
@@ -29,6 +29,8 @@
from twisted.internet.defer import inlineCallbacks, Deferred
from twisted.application.service import Service
+
+
class SubprocessStartup(TestCase):
"""
Tests for starting and stopping the subprocess.
@@ -44,6 +46,7 @@
"""
test = self
+
class SimpleService1(Service):
instances = []
@@ -95,6 +98,7 @@
"""
test = self
+
class SimpleService2(Service):
instances = []
@@ -147,6 +151,7 @@
"""
test = self
+
class SimpleService1(Service):
instances = []
@@ -171,8 +176,11 @@
finally:
cursor.close()
- # The SQL in importFile.sql will get executed, including the insertion of "value1"
- importFileName = CachingFilePath(__file__).parent().child("importFile.sql").path
+ # The SQL in importFile.sql will get executed, including the insertion
+ # of "value1"
+ importFileName = (
+ CachingFilePath(__file__).parent().child("importFile.sql").path
+ )
svc = PostgresService(
CachingFilePath("postgres_3.pgdb"),
SimpleService1,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20150218/92437357/attachment.html>
More information about the calendarserver-changes
mailing list