self = <swh.model.tests.test_hashutil.MultiHashTest testMethod=test_multi_hash_file>
def test_multi_hash_file(self):
fobj = io.BytesIO(self.data)
checksums = MultiHash.from_file(fobj, length=len(self.data)).digest()
> self.assertEqual(checksums, self.checksums)
E AssertionError: {'sha[58 chars] 'sha256': b'&`!\x13\xb4\xb9\xaf\xd9\xd5Tf\xb0[241 chars]071'} != {'sha[58 chars] 'sha1_git': b'V\x8a\xafC\xd8;,=\xf8\x06\x7f;\[244 chars]x06'}
E {'blake2s256': b'c\xcf\xb2Y\xe1\xfd\xb4\x85\xbc\\Ut\x96\x97\xa6\xb2'
E b'\x1e\xf3\x1f\xb7D_lx\xac\x94"\xf9\xf2\xdc\x89\x06',
E 'sha1': b'b\xbe5\xbf\x00\xff\x0cbOJb\x1e.\xa5YZ\x04\x9e\x071',
E - 'sha1_git': b'b\xbe5\xbf\x00\xff\x0cbOJb\x1e.\xa5YZ\x04\x9e\x071',
E + 'sha1_git': b'V\x8a\xafC\xd8;,=\xf8\x06\x7f;\xed\xbb\x97\xd82`\xbem',
E 'sha256': b'&`!\x13\xb4\xb9\xaf\xd9\xd5Tf\xb0\x85\x80\xd3\xc2J\x9bP\xee[Xf\xc0'
E b'\xd9\x1f\xab\x0ee\x90s\x11'}
.tox/py3-full/lib/python3.7/site-packages/swh/model/tests/test_hashutil.py:92: AssertionError
TEST RESULT
TEST RESULT
- Run At
- Apr 30 2021, 12:26 PM