[Checkins] SVN: Zope3/branches/3.3/src/zope/testbrowser/tests.py
	port bugfix from revision 68131:
    Benji York 
    benji at zope.com
       
    Mon May 15 09:20:08 EDT 2006
    
    
  
Log message for revision 68132:
  port bugfix from revision 68131:
    make the reNormalizing for multipart boundries more lienient (caused tests to
    fail on some machines)
  
Changed:
  U   Zope3/branches/3.3/src/zope/testbrowser/tests.py
-=-
Modified: Zope3/branches/3.3/src/zope/testbrowser/tests.py
===================================================================
--- Zope3/branches/3.3/src/zope/testbrowser/tests.py	2006-05-15 13:03:54 UTC (rev 68131)
+++ Zope3/branches/3.3/src/zope/testbrowser/tests.py	2006-05-15 13:20:05 UTC (rev 68132)
@@ -160,7 +160,7 @@
 
 def test_file_upload():
     """
-    
+
     >>> browser = Browser()
 
 When given a form with a file-upload
@@ -220,7 +220,7 @@
     """
 
 checker = renormalizing.RENormalizing([
-    (re.compile('127.0.0.\S+'), '-'*30),
+    (re.compile(r'(--|boundary=)\d+\.\d+\.\d+\.\S+'), '-'*30),
     (re.compile('User-agent:\s+\S+'), 'User-agent: XXX'),
     (re.compile('Content-length:\s+\S+'), 'Content-length: 123'),
     ])
    
    
More information about the Checkins
mailing list