cli_runner = <click.testing.CliRunner object at 0x7fe419be2ba8>
confpath_good = '/home/jenkins/.config/swh/global.yml'
rootpath_good = '/usr/lib/python3/dist-packages/urllib3'
monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7fe419be2f60>
def test_config_path_envvar_good(cli_runner, confpath_good, rootpath_good, monkeypatch):
monkeypatch.setenv("SWH_CONFIG_FILE", confpath_good)
res = cli_runner.invoke(scanner, ["scan", rootpath_good])
> assert res.exit_code == 0
E assert 1 == 0
E +1
E -0
.tox/py3/lib/python3.7/site-packages/swh/scanner/tests/test_cli.py:66: AssertionError
TEST RESULT
TEST RESULT
- Run At
- Sep 29 2020, 7:57 PM