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

Function test_default_workspaces_skipped_when_empty

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

Source from the content-addressed store, hash-verified

1715
1716 #[test]
1717 fn test_default_workspaces_skipped_when_empty() {
1718 let config = ServerConfig {
1719 url: Some("https://atomic.storage".to_string()),
1720 default_org: Some("alice".to_string()),
1721 default_workspaces: BTreeMap::new(),
1722 identity: None,
1723 agent_identity: None,
1724 single_tenant: false,
1725 };
1726 let toml_str = toml::to_string_pretty(&config).unwrap();
1727 assert!(!toml_str.contains("default_workspaces"));
1728 }
1729
1730 #[test]
1731 fn test_default_workspaces_roundtrip() {

Callers

nothing calls this directly

Calls 1

unwrapMethod · 0.45

Tested by

no test coverage detected