Page MenuHomeSoftware Heritage

Jenkins > .tox.py3.lib.python3.7.site-packages.swh.indexer.tests.test_cli::test_cli_mapping_list
Failed

TEST RESULT

Run At
Aug 12 2022, 11:57 AM
Details
cli_runner = <click.testing.CliRunner object at 0x7f259259b630> swh_config = '/tmp/pytest-of-jenkins/pytest-0/test_cli_mapping_list0/indexer.yml' def test_cli_mapping_list(cli_runner, swh_config): result = cli_runner.invoke( indexer_cli_group, ["-C", swh_config, "mapping", "list"], catch_exceptions=False, ) expected_output = "\n".join( [ "cff", "codemeta", "composer", "gemspec", "github", "json-sword-codemeta", "maven", "npm", "pkg-info", "pubspec", "sword-codemeta", "", ] # must be sorted for test to pass ) assert result.exit_code == 0, result.output > assert result.output == expected_output E AssertionError: assert 'cff\ncodemet...rd-codemeta\n' == 'cff\ncodemet...rd-codemeta\n' E cff E codemeta E composer E gemspec E github E - json-sword-codemeta E maven... E E ...Full output truncated (6 lines hidden), use '-vv' to show .tox/py3/lib/python3.7/site-packages/swh/indexer/tests/test_cli.py:124: AssertionError