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

Function test_config

src/onboard/test_support.rs:5–19  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

3use vfs::VfsPath;
4
5pub(super) fn test_config() -> OnboardConfig {
6 OnboardConfig {
7 provider: "openai".to_string(),
8 model: "gpt-5.2".to_string(),
9 auth_method: super::types::OnboardAuthMethod::StaticKey,
10 real_api_key: "sk-real-key-123".to_string(),
11 virtual_api_key: "{clawshell-virtual-key-openai}".to_string(),
12 target: OnboardTarget::Openclaw {
13 config_path: PathBuf::from("/tmp/test-openclaw.json"),
14 },
15 server_host: "127.0.0.1".to_string(),
16 server_port: 18790,
17 email: None,
18 }
19}
20
21/// Create a VFS helper that writes content to a path, creating parent dirs.
22pub(super) fn vfs_write(root: &VfsPath, path: &str, content: &str) {

Calls

no outgoing calls

Tested by

no test coverage detected