[Zope-Checkins] CVS: Zope/lib/python/ZPublisher/tests - testHTTPRangeSupport.py:1.3.2.1
Martijn Pieters
mj@zope.com
Tue, 4 Dec 2001 17:42:29 -0500
Update of /cvs-repository/Zope/lib/python/ZPublisher/tests
In directory cvs.zope.org:/tmp/cvs-serv29464/lib/python/ZPublisher/tests
Modified Files:
Tag: Zope-2_5-branch
testHTTPRangeSupport.py
Log Message:
Merge HTTP Ranges fix from 2.4 branch
=== Zope/lib/python/ZPublisher/tests/testHTTPRangeSupport.py 1.3 => 1.3.2.1 ===
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.