Page MenuHomeSoftware Heritage

Jenkins > .tox.py3.lib.python3.7.site-packages.swh.loader.package.debian.tests.test_debian::test_debian_first_visit_then_another_visit
Failed

TEST RESULT

Run At
Aug 12 2021, 12:13 PM
Details
swh_storage = <swh.storage.proxies.retry.RetryingProxyStorage object at 0x7ffaa67312b0> requests_mock_datadir = <requests_mock.mocker.Mocker object at 0x7ffaa67ed978> def test_debian_first_visit_then_another_visit(swh_storage, requests_mock_datadir): """With no prior visit, load a debian project ends up with 1 snapshot """ loader = DebianLoader( swh_storage, URL, date="2019-10-12T05:58:09.165557+00:00", packages=PACKAGE_PER_VERSION, ) actual_load_status = loader.load() expected_snapshot_id = "3b6b66e6ee4e7d903a379a882684a2a50480c0b4" > assert actual_load_status == { "status": "eventful", "snapshot_id": expected_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': '3b6b66e6ee4e7d903a379a882684a2a50480c0b4'} E Full diff: E { E - 'snapshot_id': '3b6b66e6ee4e7d903a379a882684a2a50480c0b4', 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/debian/tests/test_debian.py:159: AssertionError