Page MenuHomeSoftware Heritage

Jenkins > .tox.py3.lib.python3.7.site-packages.swh.objstorage.tests.test_objstorage_multiplexer.TestMultiplexerObjStorage::test_restore_content
Failed

TEST RESULT

Run At
Oct 20 2021, 2:34 PM
Details
self = <swh.objstorage.tests.test_objstorage_multiplexer.TestMultiplexerObjStorage testMethod=test_restore_content> def test_restore_content(self): self.storage.allow_delete = True valid_content, valid_obj_id = self.hash_content(b"restore_content") invalid_content = b"unexpected content" id_adding = self.storage.add(invalid_content, valid_obj_id) self.assertEqual(id_adding, valid_obj_id) with self.assertRaises(exc.Error): self.storage.check(id_adding) id_restore = self.storage.restore(valid_content, valid_obj_id) > self.assertEqual(id_restore, valid_obj_id) E AssertionError: None != b'\x96j?\xb0\xe1\xfcL\xf9\xaa\xf6\xe1f\x14\x86\x9c\x87{\x03\x05N' .tox/py3/lib/python3.7/site-packages/swh/objstorage/tests/objstorage_testing.py:85: AssertionError