fixing unit test
This commit is contained in:
@@ -2504,7 +2504,7 @@ class TestObjectController(unittest.TestCase):
|
|||||||
|
|
||||||
def test_response_head_accept_ranges_header(self):
|
def test_response_head_accept_ranges_header(self):
|
||||||
with save_globals():
|
with save_globals():
|
||||||
req = Request.blank('/a/c/o', environ={'REQUEST_METHOD': 'GET'})
|
req = Request.blank('/a/c/o', environ={'REQUEST_METHOD': 'HEAD'})
|
||||||
self.app.update_request(req)
|
self.app.update_request(req)
|
||||||
controller = proxy_server.ObjectController(self.app, 'account',
|
controller = proxy_server.ObjectController(self.app, 'account',
|
||||||
'container', 'object')
|
'container', 'object')
|
||||||
|
Reference in New Issue
Block a user