Commit f89f32c9 authored by Theophile GENTILHOMME's avatar Theophile GENTILHOMME

[test][test_commands] Adapt test to new nbins option behavior

parent 2e9eed11
Pipeline #21237 passed with stage
in 21 minutes and 26 seconds
......@@ -83,7 +83,7 @@ def test_hist_pad():
result = runner.invoke(pad_commands.hist, ['--criterion', 'min-hter',
'--output',
'HISTO.pdf', '-b',
'30,20,60,10',
'30,20',
licit_dev, spoof_dev])
assert result.exit_code == 0, (result.exit_code, result.output)
......@@ -115,6 +115,15 @@ def test_hist_vuln():
spoof_dev, spoof_test])
assert result.exit_code == 0, (result.exit_code, result.output)
with runner.isolated_filesystem():
result = runner.invoke(vuln_commands.hist,
['--criterion', 'eer', '--output',
'HISTO.pdf', '-b', '2,20,30',
licit_dev, licit_test,
spoof_dev, spoof_test])
assert result.exit_code == 0, (result.exit_code, result.output)
def test_metrics_vuln():
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment