diff options
| author | Chris McDonough <chrism@plope.com> | 2012-02-28 21:42:36 -0500 |
|---|---|---|
| committer | Chris McDonough <chrism@plope.com> | 2012-02-28 21:42:36 -0500 |
| commit | 80eac76501836eb73378da55dcb845e46e4dcbad (patch) | |
| tree | fdcad56ce2b9f0ba9e6dc0fce836ed7cf07e78f1 | |
| parent | f2b4316a6fb2fef43056564be366a81d618e2ce1 (diff) | |
| download | pyramid-80eac76501836eb73378da55dcb845e46e4dcbad.tar.gz pyramid-80eac76501836eb73378da55dcb845e46e4dcbad.tar.bz2 pyramid-80eac76501836eb73378da55dcb845e46e4dcbad.zip | |
avoid coping with linefeeds on windows
| -rw-r--r-- | pyramid/tests/fixtures/static/index.html | 2 | ||||
| -rw-r--r-- | pyramid/tests/test_integration.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/pyramid/tests/fixtures/static/index.html b/pyramid/tests/fixtures/static/index.html index 6498787a5..0470710b2 100644 --- a/pyramid/tests/fixtures/static/index.html +++ b/pyramid/tests/fixtures/static/index.html @@ -1 +1 @@ -<html>static</html> +<html>static</html>
\ No newline at end of file diff --git a/pyramid/tests/test_integration.py b/pyramid/tests/test_integration.py index f72e24bec..89b485b76 100644 --- a/pyramid/tests/test_integration.py +++ b/pyramid/tests/test_integration.py @@ -140,7 +140,7 @@ class TestStaticAppBase(IntegrationBase): 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'} |
