Skip to content
Snippets Groups Projects
Commit 0ed99313 authored by André Anjos's avatar André Anjos :speech_balloon:
Browse files

[test.test_cli] Fix counters for evaluation checker

parent b40d44e2
No related branches found
No related tags found
1 merge request!16Use pytest instead of nose
Pipeline #45825 failed
......@@ -390,9 +390,9 @@ def _check_evaluate(caplog, runner):
assert len(fnmatch.filter(os.listdir(basedir), "*.png")) == 10
keywords = {
r"^Maximum F1-score of.*\(chosen \*a posteriori\*\)$": 3,
r"^F1-score of.*\(chosen \*a priori\*\)$": 2,
r"^F1-score of.*\(second annotator; threshold=0.5\)$": 2,
r"^Maximum F1-score of.*\(chosen \*a posteriori\*\)$": 1,
r"^F1-score of.*\(chosen \*a priori\*\)$": 1,
r"^F1-score of.*\(second annotator; threshold=0.5\)$": 1,
}
messages = "\n".join([k.getMessage() for k in caplog.records])
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment