(id: &str)
| 2999 | } |
| 3000 | |
| 3001 | fn custom_profile(id: &str) -> ProviderProfile { |
| 3002 | ProviderProfile { |
| 3003 | id: id.to_string(), |
| 3004 | resource_version: 0, |
| 3005 | display_name: format!("{id} Profile"), |
| 3006 | description: String::new(), |
| 3007 | category: ProviderProfileCategory::Other as i32, |
| 3008 | credentials: Vec::new(), |
| 3009 | endpoints: Vec::new(), |
| 3010 | binaries: Vec::new(), |
| 3011 | inference_capable: false, |
| 3012 | discovery: None, |
| 3013 | } |
| 3014 | } |
| 3015 | |
| 3016 | fn custom_profile_with_invalid_endpoint(id: &str) -> ProviderProfile { |
| 3017 | let mut profile = custom_profile(id); |
no outgoing calls
no test coverage detected