swh_storage = <swh.storage.in_memory.InMemoryStorage object at 0x7fb6ec0cf828>
@pytest.fixture
def swh_origins(swh_storage: StorageInterface) -> Iterable[Origin]:
origins = [Origin.from_dict(o) for o in gen_origins(n=100)]
> swh_storage.origin_add(origins)
.tox/py3/lib/python3.7/site-packages/swh/storage/tests/conftest.py:72:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <swh.storage.in_memory.InMemoryStorage object at 0x7fb6ec0cf828>
origins = [Origin(url='svn://some.long.host.name/stuff/'), Origin(url='git://xn--n28h.tld/stuff/'), Origin(url='git://example.co...host.name/stuff/'), Origin(url='https://xn--n28h.tld/path/with/qargs?q=1&b'), Origin(url='https://xn--n28h.tld/'), ...]
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
TEST RESULT
TEST RESULT
- Run At
- Apr 22 2021, 8:33 PM