Page MenuHomeSoftware Heritage

Jenkins > .tox.py3.lib.python3.7.site-packages.swh.loader.mercurial.tests.test_identify::test_single_revision
Failed

TEST RESULT

Run At
Oct 27 2020, 4:53 PM
Details
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_single_revision0') def test_single_revision(datadir: str, tmp_path: str): 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) directory = urlsplit(repo_url).path runner = CliRunner() result = runner.invoke( main, ["-d", directory, "revision", "0a04b987be5ae354b710cefeba0e2d9de7ad41a9"] ) expected = ( "\n".join( [ "swh:1:rev:93b48d515580522a05f389bec93227fc8e43d940" "\t0a04b987be5ae354b710cefeba0e2d9de7ad41a9", ] ) + "\n" ) > assert result.output == expected E AssertionError: assert '' == 'swh:1:rev:93...d9de7ad41a9\n' E - swh:1:rev:93b48d515580522a05f389bec93227fc8e43d940 0a04b987be5ae354b710cefeba0e2d9de7ad41a9 .tox/py3/lib/python3.7/site-packages/swh/loader/mercurial/tests/test_identify.py:60: AssertionError