test_web.py: fix pyflakes warnings introduced by byterange patch.

This commit is contained in:
david-sarah 2010-06-07 21:20:12 -07:00
parent 63b28d707b
commit a67e745b26

View File

@ -599,7 +599,6 @@ class Web(WebMixin, WebErrorMixin, testutil.StallMixin, unittest.TestCase):
def test_GET_FILEURL_partial_range_overrun(self):
headers = {"range": "bytes=100-200"}
length = len(self.BAR_CONTENTS)
d = self.shouldFail2(error.Error, "test_GET_FILEURL_range_overrun",
"416 Requested Range not satisfiable",
"First beyond end of file",
@ -648,7 +647,6 @@ class Web(WebMixin, WebErrorMixin, testutil.StallMixin, unittest.TestCase):
def test_HEAD_FILEURL_partial_range_overrun(self):
headers = {"range": "bytes=100-200"}
length = len(self.BAR_CONTENTS)
d = self.shouldFail2(error.Error, "test_HEAD_FILEURL_range_overrun",
"416 Requested Range not satisfiable",
"",