[Zope3-checkins] CVS: Zope3/src/zope/app/services/tests - placefulsetup.py:1.1.2.4
Fred L. Drake, Jr.
fred@zope.com
Tue, 24 Dec 2002 01:09:52 -0500
Update of /cvs-repository/Zope3/src/zope/app/services/tests
In directory cvs.zope.org:/tmp/cvs-serv11627
Modified Files:
Tag: NameGeddon-branch
placefulsetup.py
Log Message:
- normalize whitespace
- remove unused import
- organize imports
=== Zope3/src/zope/app/services/tests/placefulsetup.py 1.1.2.3 => 1.1.2.4 ===
--- Zope3/src/zope/app/services/tests/placefulsetup.py:1.1.2.3 Mon Dec 23 18:52:36 2002
+++ Zope3/src/zope/app/services/tests/placefulsetup.py Tue Dec 24 01:09:52 2002
@@ -2,50 +2,46 @@
#
# Copyright (c) 2001, 2002 Zope Corporation and Contributors.
# All Rights Reserved.
-#
+#
# This software is subject to the provisions of the Zope Public License,
# Version 2.0 (ZPL). A copy of the ZPL should accompany this distribution.
# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
# WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
# WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
# FOR A PARTICULAR PURPOSE.
-#
+#
##############################################################################
"""
Revision information:
$Id$
"""
-from zope.app.tests.placelesssetup import PlacelessSetup
from zope import component as CA
-from zope.app.component import hooks
from zope.component.adapter import provideAdapter
+from zope.component.view import provideView
+from zope.publisher.interfaces.browser import IBrowserPresentation
-from zope.app.traversing import getPhysicalPathString
-from zope.app.traversing.defaulttraversable import DefaultTraversable
-from zope.app.traversing.etcnamespace import etc
+from zope.app.browser.absoluteurl \
+ import SiteAbsoluteURL, AbsoluteURL
+from zope.app.component import hooks
+from zope.app.container.traversal import ContainerTraversable
+from zope.app.interfaces.container import ISimpleReadContainer
+from zope.app.interfaces.content.folder import IRootFolder
from zope.app.interfaces.traversing.containmentroot import IContainmentRoot
from zope.app.interfaces.traversing.physicallylocatable import IPhysicallyLocatable
from zope.app.interfaces.traversing.traverser import ITraverser
from zope.app.interfaces.traversing.traversable import ITraversable
+from zope.app.tests.placelesssetup import PlacelessSetup
+from zope.app.traversing.defaulttraversable import DefaultTraversable
+from zope.app.traversing.etcnamespace import etc
from zope.app.traversing.namespaces import provideNamespaceHandler
from zope.app.traversing.physicallocationadapters \
import WrapperPhysicallyLocatable, RootPhysicallyLocatable
from zope.app.traversing.traverser import Traverser
-from zope.app.interfaces.content.folder import IRootFolder
-
-
-from zope.app.interfaces.container import ISimpleReadContainer
-from zope.app.container.traversal import ContainerTraversable
-
-from zope.component.view import provideView
-from zope.publisher.interfaces.browser import IBrowserPresentation
-from zope.app.browser.absoluteurl \
- import SiteAbsoluteURL, AbsoluteURL
class PlacefulSetup(PlacelessSetup):
-
+
def setUp(self):
PlacelessSetup.setUp(self)
# set up placeful hooks, saving originals for tearDown
@@ -57,7 +53,7 @@
provideAdapter(None, ITraverser, Traverser)
provideAdapter(None, ITraversable, DefaultTraversable)
-
+
provideAdapter(
ISimpleReadContainer, ITraversable, ContainerTraversable)
provideAdapter(
@@ -141,4 +137,3 @@
import TestingServiceManager
folder.setServiceManager(TestingServiceManager())
-