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

Function test_agent_identity_omitted_when_unset

atomic-config/src/lib.rs:1953–1958  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1951
1952 #[test]
1953 fn test_agent_identity_omitted_when_unset() {
1954 // skip_serializing_if: an unset selection leaves no key behind,
1955 // so hand-edited configs stay clean.
1956 let toml_str = toml::to_string_pretty(&GlobalConfig::default()).unwrap();
1957 assert!(!toml_str.contains("agent_identity"));
1958 }
1959
1960 #[test]
1961 fn test_active_server_agent_identity_prefers_default_profile() {

Callers

nothing calls this directly

Calls 1

unwrapMethod · 0.45

Tested by

no test coverage detected