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 0x7f2507ee87b8>
swh_storage = <swh.storage.proxies.retry.RetryingProxyStorage object at 0x7f2507eef390>
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' == 'b0b01941e6de...e8a4eead227d8'
E - b0b01941e6dea83a074210dfad3e8a4eead227d8
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, 9:42 AM