summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/test_response.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/test_response.py b/tests/test_response.py
index a01f717..fd4615a 100644
--- a/tests/test_response.py
+++ b/tests/test_response.py
@@ -976,6 +976,7 @@ def test_cache_control_get():
def test_location():
res = Response()
+ res.status = '301'
res.location = '/test.html'
assert res.location == '/test.html'
req = Request.blank('/')