Page MenuHomeSoftware Heritage

Jenkins > .tox.py3.lib.python3.7.site-packages.swh.dataset.test.test_orc::test_export_content_with_data
Failed

TEST RESULT

Run At
Jul 20 2022, 3:23 PM
Details
monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7ff37a7961d0> tmpdir = local('/tmp/pytest-of-jenkins/pytest-0/test_export_content_with_data0') def test_export_content_with_data(monkeypatch, tmpdir): obj_type = "content" objstorage = get_objstorage("memory") for content in TEST_OBJECTS[obj_type]: > objstorage.add(content.data, content.hashes()) .tox/py3/lib/python3.7/site-packages/swh/dataset/test/test_orc.py:330: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ .tox/py3/lib/python3.7/site-packages/swh/objstorage/backends/in_memory.py:37: in add if check_presence and obj_id in self: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <swh.objstorage.backends.in_memory.InMemoryObjStorage object at 0x7ff37a82df60> obj_id = {'blake2s256': b'\xcaLc\x93!_\x02\xb4q\xc5\x0e\xd7~\xd8\xe0\xcejP\x82&\xb2\x89V\xd0_r\xf3\x9c\xa7\x1a\x02_', 'sha1': b...|Wy', 'sha256': b'B\xbf\xe5Au\xd3^\xe1<\x15\xab\xe2\xa9\xdad\xc7\xc2\xfd\x01\xa8\xdc\n\xfdB\xec\x9f\x06\xc4\xf6@\xf5>'} def __contains__(self, obj_id): > return obj_id in self.state E TypeError: unhashable type: 'dict' .tox/py3/lib/python3.7/site-packages/swh/objstorage/backends/in_memory.py:28: TypeError