datadir = '/var/lib/jenkins/workspace/DLDBASE/tests-on-diff/.tox/py3/lib/python3.7/site-packages/swh/loader/package/arch/tests/data'
requests_mock_datadir = <requests_mock.mocker.Mocker object at 0x7f0002eec3c8>
swh_storage = <swh.storage.proxies.retry.RetryingProxyStorage object at 0x7f0002eec588>
def test_arch_loader_load_one_version(datadir, requests_mock_datadir, swh_storage):
loader = ArchLoader(
swh_storage,
url=EXPECTED_PACKAGES[1]["url"],
artifacts=EXPECTED_PACKAGES[1]["artifacts"],
)
actual_load_status = loader.load()
assert actual_load_status["status"] == "eventful"
assert actual_load_status["snapshot_id"] is not None
expected_snapshot_id = "1ef9f4d53d16672737df87deb31c49effc9a4d6d"
expected_release_id = "8297f579a4758850b4b8ab260311056c29cf4550"
> assert expected_snapshot_id == actual_load_status["snapshot_id"]
E AssertionError: assert '1ef9f4d53d16...c49effc9a4d6d' == '4020d0a27802...159a913c91aa4'
E - 4020d0a278027550e336b5481a4159a913c91aa4
E + 1ef9f4d53d16672737df87deb31c49effc9a4d6d
.tox/py3/lib/python3.7/site-packages/swh/loader/package/arch/tests/test_arch.py:99: AssertionError
TEST RESULT
TEST RESULT
- Run At
- Jun 16 2022, 3:17 PM