Page MenuHomeSoftware Heritage

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

TEST RESULT

Run At
Sep 29 2020, 7:57 PM
Details
cli_runner = <click.testing.CliRunner object at 0x7fe419c05b38> rootpath_good = '/usr/lib/python3/dist-packages/urllib3' def test_root_path_good(cli_runner, rootpath_good): # test no option no envvar no default # how to make sure the default file does not exist? res = cli_runner.invoke(scanner, ["scan", rootpath_good]) > assert res.exit_code == 0 E assert 2 == 0 E +2 E -0 .tox/py3/lib/python3.7/site-packages/swh/scanner/tests/test_cli.py:48: AssertionError