diff options
Diffstat (limited to 'tests/test_fileapp.py')
-rw-r--r-- | tests/test_fileapp.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_fileapp.py b/tests/test_fileapp.py index 3bf2bb9..4680917 100644 --- a/tests/test_fileapp.py +++ b/tests/test_fileapp.py @@ -187,7 +187,7 @@ def test_range(): content = LETTERS * 5 if six.PY3: content = content.encode('utf8') - def build(range, status=200): + def build(range, status=206): app = DataApp(content) return TestApp(app).get("/",headers={'Range': range}, status=status) _excercize_range(build,content) @@ -204,7 +204,7 @@ def test_file_range(): with open(tempfile, "wb") as fp: fp.write(content) try: - def build(range, status=200): + def build(range, status=206): app = fileapp.FileApp(tempfile) return TestApp(app).get("/",headers={'Range': range}, status=status) |