swh_storage = <swh.storage.validate.ValidatingProxyStorage object at 0x7f0194a52668>
sample_data = {'authority': [{'metadata': {'location': 'France'}, 'type': 'deposit', 'url': 'http://hal.inria.example.com/'}], 'cont...384>, 'target': b'12345678901234567890', 'type': 'dir'}), 'id': b'4\x013B2S1\x000\xf51\xe62\xa73\xff7\xc3\xa90'}], ...}
def test_retrying_proxy_swh_storage_origin_visit_update(swh_storage, sample_data):
"""Standard origin_visit_update works as before
"""
sample_origin = sample_data["origin"][0]
origin_url = swh_storage.origin_add_one(sample_origin)
> origin_visit = swh_storage.origin_visit_add(origin_url, date_visit1, "hg")
E TypeError: origin_visit_add() takes 2 positional arguments but 4 were given
.tox/py3/lib/python3.7/site-packages/swh/storage/tests/test_retry.py:678: TypeError
TEST RESULT
TEST RESULT
- Run At
- Jun 11 2020, 3:42 PM