[Zope-Checkins] CVS: Zope3/lib/python/Zope/App/Service/tests - __init__.py:1.1.2.2 testServiceManagerBindings.py:1.1.2.2 testServiceManagerContents.py:1.1.2.2

Tres Seaver tseaver@zope.com
Tue, 12 Feb 2002 15:56:35 -0500


Update of /cvs-repository/Zope3/lib/python/Zope/App/Service/tests
In directory cvs.zope.org:/tmp/cvs-serv19744/Zope/App/Service/tests

Modified Files:
      Tag: Zope-3x-branch
	__init__.py testServiceManagerBindings.py 
	testServiceManagerContents.py 
Log Message:


  - Normalize file headers.

  - Fix violations of "80 character" rule.


=== Zope3/lib/python/Zope/App/Service/tests/__init__.py 1.1.2.1 => 1.1.2.2 ===
 """
 
-Revision information: $Id$
+$Id$
 """


=== Zope3/lib/python/Zope/App/Service/tests/testServiceManagerBindings.py 1.1.2.1 => 1.1.2.2 ===
 """
 
-Revision information:
 $Id$
 """
 import unittest
@@ -20,7 +19,8 @@
 from Interface import Interface
 
 from Zope.App.Service.ServiceManager import ServiceManager
-from Zope.App.Service.ServiceManagerBindingsView import ServiceManagerBindingsView
+from Zope.App.Service.ServiceManagerBindingsView \
+        import ServiceManagerBindingsView
 
 
 class ITestService1(Interface): pass


=== Zope3/lib/python/Zope/App/Service/tests/testServiceManagerContents.py 1.1.2.1 => 1.1.2.2 ===
+#
 # Copyright (c) 2001 Zope Corporation and Contributors.  All Rights Reserved.
 # 
 # This software is subject to the provisions of the Zope Public License,
@@ -6,6 +8,11 @@
 # WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
 # WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS 
 # FOR A PARTICULAR PURPOSE.
+##############################################################################
+"""
+
+$Id$
+"""
 
 import unittest
 
@@ -22,7 +29,8 @@
     def testExtractContents( self ):
         """ Does _extractContents return the correct information? """
 
-        from Zope.App.Service.ServiceManagerContents import ServiceManagerContents
+        from Zope.App.Service.ServiceManagerContents \
+                import ServiceManagerContents
 
         smc = ServiceManagerContents( None )
         info = smc._extractContentInfo( ('dummy', Dummy(),) )
@@ -30,9 +38,12 @@
         self.assert_( 'IDummy' in info['interfaces'] )
 
     def testInfo( self ):
-        """ Do we get the correct information back from ServiceManagerContents? """
+        """ Do we get the correct information back from
+            ServiceManagerContents?
+        """
 
-        from Zope.App.Service.ServiceManagerContents import ServiceManagerContents
+        from Zope.App.Service.ServiceManagerContents \
+                import ServiceManagerContents
         from Zope.App.Service.ServiceManager import ServiceManager
 
         sm = ServiceManager()