[Checkins] SVN: Zope3/trunk/src/zope/testbrowser/tests.py make the
	zope.testbrowser file upload tests understand the full range of
    Benji York 
    benji at zope.com
       
    Mon May 15 09:57:21 EDT 2006
    
    
  
Log message for revision 68135:
  make the zope.testbrowser file upload tests understand the full range of
  boundaries mimetools can generate
  
Changed:
  U   Zope3/trunk/src/zope/testbrowser/tests.py
-=-
Modified: Zope3/trunk/src/zope/testbrowser/tests.py
===================================================================
--- Zope3/trunk/src/zope/testbrowser/tests.py	2006-05-15 13:35:46 UTC (rev 68134)
+++ Zope3/trunk/src/zope/testbrowser/tests.py	2006-05-15 13:57:21 UTC (rev 68135)
@@ -220,7 +220,8 @@
     """
 
 checker = renormalizing.RENormalizing([
-    (re.compile(r'(--|boundary=)\d+\.\d+\.\d+\.\S+'), '-'*30),
+    (re.compile(r'^--\S+\.\S+\.\S+', re.M), '-'*30),
+    (re.compile(r'boundary=\S+\.\S+\.\S+'), 'boundary='+'-'*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