()
| 492 | |
| 493 | #[test] |
| 494 | fn fresh_same_signer_verifies() { |
| 495 | let (repo, ids, _dir) = repo_with_intents(1); |
| 496 | let kp = KeyPair::generate(); |
| 497 | let node = attest_with(&repo, &ids[0], &kp); |
| 498 | write_tracked(&repo, &ids[0], &node); |
| 499 | |
| 500 | let row = row_for(&repo, &ids[0], Some(&kp)); |
| 501 | assert_eq!(row.attested, Attested::Fresh); |
| 502 | assert_eq!(row.verifies, Verifies::Yes); |
| 503 | assert_eq!(row.verifies.table(), "✓"); |
| 504 | } |
| 505 | |
| 506 | #[test] |
| 507 | fn stale_is_stale_and_na() { |
nothing calls this directly
no test coverage detected