Page MenuHomeSoftware Heritage

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

TEST RESULT

Run At
Aug 12 2021, 12:13 PM
Details
swh_storage = <swh.storage.proxies.retry.RetryingProxyStorage object at 0x7ffaa6729fd0> requests_mock_datadir_visits = <requests_mock.mocker.Mocker object at 0x7ffaa66a6e10> def test_loader_two_visits(swh_storage, requests_mock_datadir_visits): """To ensure there is only one origin, but two visits, two revisions and two snapshots are created. The first visit creates a snapshot containing one tarball. The second visit creates a snapshot containing the same tarball and another tarball. """ loader = NixGuixLoader(swh_storage, sources_url) load_status = 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:390: AssertionError