Page MenuHomeSoftware Heritage

Jenkins > .tox.py3.lib.python3.7.site-packages.swh.storage.tests.test_in_memory.TestInMemoryStorageGeneratedData::test_generate_content_get
Failed

TEST RESULT

Run At
Apr 22 2021, 8:40 PM
Details
swh_storage = <swh.storage.in_memory.InMemoryStorage object at 0x7fa913e10e80> @pytest.fixture def swh_contents(swh_storage: StorageInterface) -> Iterable[BaseContent]: contents = [BaseContent.from_dict(c) for c in gen_contents(n=20)] > swh_storage.content_add([c for c in contents if c.status != "absent"]) .tox/py3/lib/python3.7/site-packages/swh/storage/tests/conftest.py:64: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ .tox/py3/lib/python3.7/site-packages/swh/storage/cassandra/storage.py:234: in content_add return self._content_add(list(contents), with_data=True) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <swh.storage.in_memory.InMemoryStorage object at 0x7fa913e10e80> contents = [Content(sha1=b'\xd3{\xb1\x19\x87d8\xa0\\\xd8\xd5\xc4\x99h\xbb&\xe5E\xc7\\', sha1_git=b"\x0e\xf9\xd5\x1e3\x1a:\x8a\xd2...cA\xce\xf6\xb5I\x1a\xe0', ctime=datetime.datetime(2021, 4, 22, 18, 39, 48, 290291, tzinfo=datetime.timezone.utc)), ...] with_data = True def _content_add(self, contents: List[Content], with_data: bool) -> Dict: # Filter-out content already in the database. > if self._check_missing: E AttributeError: 'InMemoryStorage' object has no attribute '_check_missing' .tox/py3/lib/python3.7/site-packages/swh/storage/cassandra/storage.py:152: AttributeError