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

Function skills_without_cache_errors

atomic-agent/src/integrations/install.rs:1078–1087  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1076 #[test]
1077 #[serial]
1078 fn skills_without_cache_errors() {
1079 let home = tempfile::tempdir().unwrap();
1080 std::env::set_var("ATOMIC_INTEGRATIONS_HOME", home.path());
1081 let dst = tempfile::tempdir().unwrap();
1082 let pkg = fake_plugin_with_skills("skill-test-err", dst.path());
1083
1084 let err = install_from_dir(pkg.path(), &opts(false)).unwrap_err();
1085 assert!(err.to_string().contains("no skills cache was provided"));
1086 std::env::remove_var("ATOMIC_INTEGRATIONS_HOME");
1087 }
1088
1089 #[test]
1090 #[serial]

Callers

nothing calls this directly

Calls 5

fake_plugin_with_skillsFunction · 0.85
install_from_dirFunction · 0.85
optsFunction · 0.85
unwrapMethod · 0.45
pathMethod · 0.45

Tested by

no test coverage detected