swh_storage = <swh.storage.proxies.retry.RetryingProxyStorage object at 0x7ffaa71d60b8>
caplog = <_pytest.logging.LogCaptureFixture object at 0x7ffaa65a7198>
def test_load_artifact_metadata(swh_storage, caplog):
loader = MetadataTestLoader(swh_storage, ORIGIN_URL)
load_status = loader.load()
> assert load_status == {
"status": "eventful",
"snapshot_id": FULL_SNAPSHOT_ID,
}
E AssertionError: assert {'snapshot_id... 'uneventful'} == {'snapshot_id...': 'eventful'}
E Differing items:
E {'status': 'uneventful'} != {'status': 'eventful'}
E {'snapshot_id': '1a8893e6a86f444e8be8e7bda6cb34fb1735a00e'} != {'snapshot_id': '4a9b608c9f01860a627237dd2409d1d50ec4b054'}
E Full diff:
E {
E - 'snapshot_id': '4a9b608c9f01860a627237dd2409d1d50ec4b054',
E + 'snapshot_id': '1a8893e6a86f444e8be8e7bda6cb34fb1735a00e',...
E
E ...Full output truncated (5 lines hidden), use '-vv' to show
.tox/py3/lib/python3.7/site-packages/swh/loader/package/tests/test_loader_metadata.py:149: AssertionError
TEST RESULT
TEST RESULT
- Run At
- Aug 12 2021, 12:13 PM