Page MenuHomeSoftware Heritage

Jenkins > .tox.py3.lib.python3.7.site-packages.swh.storage.tests.migrate_extrinsic_metadata.test_pypi::test_pypi_origin_from_project_name
Failed

TEST RESULT

Run At
Apr 22 2021, 8:33 PM
Details
mocker = <pytest_mock.plugin.MockerFixture object at 0x7fb62e9a3b38> def test_pypi_origin_from_project_name(mocker): origin_url = "https://pypi.org/project/ProjectName/" storage = get_storage("memory") revision_id = b"41" * 10 snapshot_id = b"42" * 10 > storage.origin_add([Origin(url=origin_url)]) .tox/py3/lib/python3.7/site-packages/swh/storage/tests/migrate_extrinsic_metadata/test_pypi.py:154: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <swh.storage.in_memory.InMemoryStorage object at 0x7fb60e181240> origins = [Origin(url='https://pypi.org/project/ProjectName/')] def origin_add(self, origins: List[Origin]) -> Dict[str, int]: > 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:937: AttributeError