ver Jan8th

trying to going on setting up thunderbird, but nothing done by now
This commit is contained in:
David Chang
2024-01-08 23:14:53 +08:00
parent 69b29e4e55
commit df8be17394
2 changed files with 35 additions and 1 deletions

View File

@@ -22,7 +22,7 @@ def check_csv(result: str, rules: Dict[str, List[Dict[str, str]]]) -> float:
unexpect_metric = True
with open(result) as f:
reader = csv.DictReader(f)
for rcd in reader:
for i, r in enumerate(rules.get("expect", [])):
expect_metrics[i] = expect_metrics[i] or _match_record(r, rcd)