From 80eac76501836eb73378da55dcb845e46e4dcbad Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Tue, 28 Feb 2012 21:42:36 -0500 Subject: avoid coping with linefeeds on windows --- pyramid/tests/fixtures/static/index.html | 2 +- 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 @@ -static +static \ 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'} -- cgit v1.2.3