()
| 699 | |
| 700 | #[test] |
| 701 | fn fresh_same_signer_verifies() { |
| 702 | let (repo, ids, _dir) = repo_with_intents(1); |
| 703 | let kp = KeyPair::generate(); |
| 704 | let node = attest_with(&repo, &ids[0], &kp); |
| 705 | write_tracked(&repo, &ids[0], &node); |
| 706 | |
| 707 | let row = row_for(&repo, &ids[0], Some(&kp)); |
| 708 | assert_eq!(row.attested, Attested::Fresh); |
| 709 | assert_eq!(row.verifies, Verifies::Yes); |
| 710 | assert_eq!(row.verifies.table(), "✓"); |
| 711 | } |
| 712 | |
| 713 | #[test] |
| 714 | fn stale_is_stale_and_na() { |
nothing calls this directly
no test coverage detected