Remove duplicate X-Backend-Storage-Policy-Index key
There is duplicate 'X-Backend-Storage-Policy-Index' dictionary key in unit.obj.test_server.py. One key has fixed policy index value, and another has random value. Unittest should done with random policy index, so remove key which is set fixed value. Change-Id: Ic91fcf44d48297d0feee33c928ca682def9790a3
This commit is contained in:
parent
bb5e38569e
commit
993ee4e37a
@ -3147,7 +3147,6 @@ class TestObjectController(unittest.TestCase):
|
||||
'x-etag': 'd41d8cd98f00b204e9800998ecf8427e',
|
||||
'x-size': '0',
|
||||
'x-timestamp': utils.Timestamp('12345').internal,
|
||||
'X-Backend-Storage-Policy-Index': '37',
|
||||
'referer': 'PUT http://localhost/sda1/p/a/c/o',
|
||||
'user-agent': 'object-server %d' % os.getpid(),
|
||||
'X-Backend-Storage-Policy-Index': int(policy),
|
||||
|
Loading…
Reference in New Issue
Block a user