swh_storage = <swh.storage.proxies.retry.RetryingProxyStorage object at 0x7fa0e1efee48>
requests_mock_datadir = <requests_mock.mocker.Mocker object at 0x7fa0e1fcdef0>
def test_archive_2_visits_with_new_artifact(swh_storage, requests_mock_datadir):
"""With no prior visit, load a gnu project ends up with 1 snapshot
"""
url = URL
artifact1 = GNU_ARTIFACTS[0]
loader = ArchiveLoader(swh_storage, url, [artifact1])
actual_load_status = loader.load()
> assert actual_load_status["status"] == "eventful"
E AssertionError: assert 'uneventful' == 'eventful'
E - eventful
E + uneventful
E ? ++
.tox/py3/lib/python3.7/site-packages/swh/loader/package/archive/tests/test_archive.py:242: AssertionError
TEST RESULT
TEST RESULT
- Run At
- Nov 9 2021, 4:34 PM