Commit 3e461f86 authored by Theophile GENTILHOMME's avatar Theophile GENTILHOMME
Browse files

[test_script] Test more options

parent ae109d93
Pipeline #20779 passed with stage
in 40 minutes and 56 seconds
...@@ -56,6 +56,7 @@ def test_roc(): ...@@ -56,6 +56,7 @@ def test_roc():
with runner.isolated_filesystem(): with runner.isolated_filesystem():
result = runner.invoke(commands.roc, ['--split', '--output', result = runner.invoke(commands.roc, ['--split', '--output',
'test.pdf', 'test.pdf',
'-ts', 'A,',
dev1, test1, dev2, test2]) dev1, test1, dev2, test2])
if result.output: if result.output:
click.echo(result.output) click.echo(result.output)
...@@ -113,6 +114,7 @@ def test_epc(): ...@@ -113,6 +114,7 @@ def test_epc():
with runner.isolated_filesystem(): with runner.isolated_filesystem():
result = runner.invoke(commands.epc, ['--output', 'test.pdf', result = runner.invoke(commands.epc, ['--output', 'test.pdf',
'--legends', 'A,B', '--legends', 'A,B',
'--titles', 'TA,TB',
'-lc', 'upper-right', '-lc', 'upper-right',
dev1, test1, dev2, test2]) dev1, test1, dev2, test2])
if result.output: if result.output:
...@@ -143,7 +145,7 @@ def test_hist(): ...@@ -143,7 +145,7 @@ def test_hist():
with runner.isolated_filesystem(): with runner.isolated_filesystem():
result = runner.invoke(commands.hist, ['--criterion', 'eer','--output', result = runner.invoke(commands.hist, ['--criterion', 'eer','--output',
'HISTO.pdf', '-b', '30,20', 'HISTO.pdf', '-b', '30,20',
'-sp', 221, '-sp', 221, '-lg', 'A,B',
dev1, test1, dev2, test2]) dev1, test1, dev2, test2])
if result.output: if result.output:
click.echo(result.output) click.echo(result.output)
......
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