MCPcopy Create free account
hub / github.com/clawshell/clawshell / test_load_nonexistent

Function test_load_nonexistent

src/oauth/storage.rs:107–113  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

105
106 #[test]
107 fn test_load_nonexistent() {
108 let dir = tempfile::tempdir().unwrap();
109 let storage = TokenStorage::new(dir.path().to_path_buf());
110
111 let loaded = storage.load("nonexistent").unwrap();
112 assert!(loaded.is_none());
113 }
114
115 #[test]
116 fn test_remove() {

Callers

nothing calls this directly

Calls 2

pathMethod · 0.80
loadMethod · 0.80

Tested by

no test coverage detected