[Zope-Checkins] CVS: Zope/lib/python/ZPublisher/tests - testHTTPRangeSupport.py:1.4

Martijn Pieters mj@zope.com
Tue, 4 Dec 2001 17:51:11 -0500


Update of /cvs-repository/Zope/lib/python/ZPublisher/tests
In directory cvs.zope.org:/tmp/cvs-serv31710/lib/python/ZPublisher/tests

Modified Files:
	testHTTPRangeSupport.py 
Log Message:
Merge HTTP Ranges fix from Zope 2.4 branch


=== Zope/lib/python/ZPublisher/tests/testHTTPRangeSupport.py 1.3 => 1.4 ===
     def testAdjacentInOrder(self):
         self.expectSets([(1, 10), (10, 20), (25, 50)], 5000,
-            [(1, 20), (25, 50)])
+            [(1, 10), (10, 20), (25, 50)])
 
     def testAdjacentOutOfOrder(self):
-        self.expectSets([(-5, None), (40, 45)], 50, [(40, 50)])
+        self.expectSets([(-5, None), (40, 45)], 50, [(40, 45), (45, 50)])
 
     def testOverLapAndOverflow(self):
         # Note that one endpoint lies beyond the end.