pyramid/tests/fixtures/static/index.html | ●●●●● patch | view | raw | blame | history | |
pyramid/tests/test_integration.py | ●●●●● patch | view | raw | blame | history |
pyramid/tests/fixtures/static/index.html
@@ -1 +1 @@ <html>static</html> <html>static</html> pyramid/tests/test_integration.py
@@ -140,7 +140,7 @@ def test_range_tilend(self): self.testapp.extra_environ = {'HTTP_RANGE':'bytes=-5'} res = self.testapp.get('/static/index.html', status=206) self.assertEqual(res.body, b'tml>\n') self.assertEqual(res.body, b'html>') def test_range_notbytes(self): self.testapp.extra_environ = {'HTTP_RANGE':'kHz=-5'}