Page MenuHomeSoftware Heritage

Jenkins > .tox.py3.lib.python3.7.site-packages.swh.loader.mercurial.tests.test_from_disk::test_load_unchanged_repo_should_be_uneventful[extid]
Failed

TEST RESULT

Run At
Sep 6 2021, 1:30 PM
Details
swh_storage = <swh.storage.proxies.filter.FilteringProxyStorage object at 0x7f4cff890198> datadir = '/var/lib/jenkins/workspace/DLDHG/tests-on-diff/.tox/py3/lib/python3.7/site-packages/swh/loader/mercurial/tests/data' tmp_path = PosixPath('/tmp/pytest-of-jenkins/pytest-0/test_load_unchanged_repo_shoul0') mechanism = 'extid' @pytest.mark.parametrize("mechanism", ("extid", "same storage")) def test_load_unchanged_repo_should_be_uneventful( swh_storage, datadir, tmp_path, mechanism ): """Checks the loader can find which revisions it already loaded, using ExtIDs.""" archive_name = "hello" archive_path = os.path.join(datadir, f"{archive_name}.tgz") repo_url = prepare_repository_from_archive(archive_path, archive_name, tmp_path) repo_path = repo_url.replace("file://", "") loader = HgLoaderFromDisk(swh_storage, repo_path) > assert loader.load() == {"status": "eventful"} E AssertionError: assert {'status': 'uneventful'} == {'status': 'eventful'} E Differing items: E {'status': 'uneventful'} != {'status': 'eventful'} E Full diff: E - {'status': 'eventful'} E + {'status': 'uneventful'} E ? ++ .tox/py3/lib/python3.7/site-packages/swh/loader/mercurial/tests/test_from_disk.py:342: AssertionError