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 0x7f00037fef98>
swh_storage = <swh.storage.proxies.retry.RetryingProxyStorage object at 0x7f00037feda0>
def test_arch_loader_load_n_versions(datadir, requests_mock_datadir, swh_storage):
loader = ArchLoader(
swh_storage,
url=EXPECTED_PACKAGES[0]["url"],
artifacts=EXPECTED_PACKAGES[0]["artifacts"],
)
actual_load_status = loader.load()
assert actual_load_status["status"] == "eventful"
assert actual_load_status["snapshot_id"] is not None
expected_snapshot_id = "e1e941cde22761446b48b58ada81b17b4f92e16d"
> assert expected_snapshot_id == actual_load_status["snapshot_id"]
E AssertionError: assert 'e1e941cde227...1b17b4f92e16d' == '832139d69a91...deaf9255041c3'
E - 832139d69a91edffcc3a96cca11deaf9255041c3
E + e1e941cde22761446b48b58ada81b17b4f92e16d
.tox/py3/lib/python3.7/site-packages/swh/loader/package/arch/tests/test_arch.py:164: AssertionError
TEST RESULT
TEST RESULT
- Run At
- Jun 16 2022, 3:17 PM