()
| 390 | |
| 391 | #[test] |
| 392 | fn fresh_same_signer_verifies() { |
| 393 | let (repo, ids, _dir) = repo_with_intents(1); |
| 394 | let kp = KeyPair::generate(); |
| 395 | let node = attest_with(&repo, &ids[0], &kp); |
| 396 | write_tracked(&repo, &ids[0], &node); |
| 397 | |
| 398 | let row = row_for(&repo, &ids[0], Some(&kp)); |
| 399 | assert_eq!(row.attested, Attested::Fresh); |
| 400 | assert_eq!(row.verifies, Verifies::Yes); |
| 401 | assert_eq!(row.verifies.table(), "✓"); |
| 402 | } |
| 403 | |
| 404 | #[test] |
| 405 | fn stale_is_stale_and_na() { |
nothing calls this directly
no test coverage detected