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
Jul 7 2022, 2:56 PM
Details
cli_runner = <click.testing.CliRunner object at 0x7f5d17b9f6d8> 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", "maven", "npm", "pkg-info", "pub", ] # must be sorted for test to pass ) assert result.exit_code == 0, result.output > assert result.output == expected_output E AssertionError: assert 'cff\ncodemet...g-info\npub\n' == 'cff\ncodemet...pkg-info\npub' E cff E codemeta E composer E gemspec E github E maven E npm... E E ...Full output truncated (5 lines hidden), use '-vv' to show .tox/py3/lib/python3.7/site-packages/swh/indexer/tests/test_cli.py:108: AssertionError