cli_runner = <click.testing.CliRunner object at 0x7fb61f7123c8>
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(
["codemeta", "gemspec", "maven", "npm", "pkg-info", "citation", "",]
)
assert result.exit_code == 0, result.output
> assert result.output == expected_output
E AssertionError: assert 'citation\nco...m\npkg-info\n' == 'codemeta\nge...o\ncitation\n'
E + citation
E codemeta
E gemspec
E maven
E npm
E pkg-info
E - citation
.tox/py3/lib/python3.7/site-packages/swh/indexer/tests/test_cli.py:92: AssertionError
TEST RESULT
TEST RESULT
- Run At
- Mar 18 2021, 6:18 AM