swh_storage = <swh.storage.retry.RetryingProxyStorage object at 0x7faf15ef47f0>
requests_mock_datadir = <requests_mock.mocker.Mocker object at 0x7faf15dc4dd8>
def test_archive_2_visits_without_change(swh_storage, requests_mock_datadir):
"""With no prior visit, load a gnu project ends up with 1 snapshot
"""
url = URL
loader = ArchiveLoader(swh_storage, url, artifacts=GNU_ARTIFACTS)
actual_load_status = loader.load()
assert actual_load_status["status"] == "eventful"
assert actual_load_status["snapshot_id"] is not None
assert_last_visit_matches(swh_storage, url, status="full", type="tar")
actual_load_status2 = loader.load()
> assert actual_load_status2["status"] == "uneventful"
E AssertionError: assert 'eventful' == 'uneventful'
E - uneventful
E ? --
E + eventful
.tox/py3/lib/python3.7/site-packages/swh/loader/package/archive/tests/test_archive.py:217: AssertionError
TEST RESULT
TEST RESULT
- Run At
- Mar 19 2021, 2:32 PM