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

Function test_attest_with_view

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

Source from the content-addressed store, hash-verified

829
830 #[test]
831 fn test_attest_with_view() {
832 let cmd = Attest {
833 hash: None,
834 view: Some("dev".to_string()),
835 verbose: false,
836 summary: false,
837 pending: None,
838 };
839 assert_eq!(cmd.view.as_deref(), Some("dev"));
840 }
841
842 #[test]
843 fn test_attest_verbose() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected