[Zope-Checkins] CVS: Zope3/lib/python/Zope/Server/tests - testPublisherServer.py:1.1.2.5

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


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

Modified Files:
      Tag: Zope-3x-branch
	testPublisherServer.py 
Log Message:


  - Normalize file headers.

  - Fix violations of "80 character" rule.


=== Zope3/lib/python/Zope/Server/tests/testPublisherServer.py 1.1.2.4 => 1.1.2.5 ===
+#
 # 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
 from asyncore import socket_map, poll
@@ -109,7 +116,8 @@
         while self.run_loop:
             poll(0.1, socket_map)
 
-    def testResponse(self, path='/', status_expected=200, add_headers=None, request_body=''):
+    def testResponse(self, path='/', status_expected=200,
+                     add_headers=None, request_body=''):
         h = HTTPConnection(LOCALHOST, self.port)
         h.putrequest('GET', path)
         h.putheader('Accept', 'text/plain')