()
| 3 | use vfs::VfsPath; |
| 4 | |
| 5 | pub(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. |
| 22 | pub(super) fn vfs_write(root: &VfsPath, path: &str, content: &str) { |
no outgoing calls
no test coverage detected