()
| 501 | |
| 502 | #[test] |
| 503 | fn fresh_same_signer_verifies() { |
| 504 | let (repo, ids, _dir) = repo_with_intents(1); |
| 505 | let kp = KeyPair::generate(); |
| 506 | let node = attest_with(&repo, &ids[0], &kp); |
| 507 | write_tracked(&repo, &ids[0], &node); |
| 508 | |
| 509 | let row = row_for(&repo, &ids[0], Some(&kp)); |
| 510 | assert_eq!(row.attested, Attested::Fresh); |
| 511 | assert_eq!(row.verifies, Verifies::Yes); |
| 512 | assert_eq!(row.verifies.table(), "✓"); |
| 513 | } |
| 514 | |
| 515 | #[test] |
| 516 | fn stale_is_stale_and_na() { |
nothing calls this directly
no test coverage detected