Page MenuHomeSoftware Heritage

Jenkins > .tox.py3.lib.python3.7.site-packages.swh.loader.package.nixguix.tests.test_nixguix::test_loader_incremental
Failed

TEST RESULT

Run At
Aug 12 2021, 12:13 PM
Details
swh_storage = <swh.storage.proxies.retry.RetryingProxyStorage object at 0x7ffaa6638f98> requests_mock_datadir = <requests_mock.mocker.Mocker object at 0x7ffaa66e72b0> def test_loader_incremental(swh_storage, requests_mock_datadir): """Ensure a second visit do not download artifact already downloaded by the previous visit. """ loader = NixGuixLoader(swh_storage, sources_url) load_status = loader.load() loader.load() > assert load_status == {"status": "eventful", "snapshot_id": SNAPSHOT1.id.hex()} E AssertionError: assert {'snapshot_id... 'uneventful'} == {'snapshot_id...': 'eventful'} E Differing items: E {'status': 'uneventful'} != {'status': 'eventful'} E {'snapshot_id': '4257fa2350168c6bfec726a06452ea27a2c0cb33'} != {'snapshot_id': '0c5881c74283793ebe9a09a105a9381e41380383'} E Full diff: E { E - 'snapshot_id': '0c5881c74283793ebe9a09a105a9381e41380383', E + 'snapshot_id': '4257fa2350168c6bfec726a06452ea27a2c0cb33',... E E ...Full output truncated (5 lines hidden), use '-vv' to show .tox/py3/lib/python3.7/site-packages/swh/loader/package/nixguix/tests/test_nixguix.py:356: AssertionError