(path, rows)
| 12 | |
| 13 | |
| 14 | def write_csv(path, rows): |
| 15 | with path.open("w", encoding="utf-8-sig", newline="") as handle: |
| 16 | writer = csv.DictWriter(handle, fieldnames=list(rows[0].keys())) |
| 17 | writer.writeheader() |
| 18 | writer.writerows(rows) |
| 19 | |
| 20 | |
| 21 | def test_model_packet_hides_model_identity_and_keeps_internal_key(tmp_path): |
no outgoing calls
no test coverage detected