MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / test_attest_with_hash

Function test_attest_with_hash

atomic-cli/src/commands/agent/attest.rs:819–828  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

817
818 #[test]
819 fn test_attest_with_hash() {
820 let cmd = Attest {
821 hash: Some("XMJZ3IPF".to_string()),
822 view: None,
823 verbose: false,
824 summary: false,
825 pending: None,
826 };
827 assert_eq!(cmd.hash.as_deref(), Some("XMJZ3IPF"));
828 }
829
830 #[test]
831 fn test_attest_with_view() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected