Commit 14a475aa authored by Ekaterina's avatar Ekaterina

erp5_wendelin: change the order of assessment operators in test_03_DataArray

parent d9a3fc10
......@@ -239,8 +239,8 @@ class Test(ERP5TypeTestCase):
array = data_array.getArray()
data = array[:].view('<b').reshape((-1,))[0:1000].tobytes()
self.assertEquals(response.headers["content-range"], 'bytes 0-999/1000')
self.assertEquals(response.body, data)
self.assertEquals(str(response.headers["content-range"]), 'bytes 0-999/1000')
self.assertEquals(int(response.headers["content-length"]), data_array.getSize())
def test_04_DataBucket(self):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment