mirror of
https://github.com/outbackdingo/optimclaw.git
synced 2026-08-27 08:00:17 +00:00
chore: fmt
This commit is contained in:
@@ -862,6 +862,7 @@ mod tests {
|
||||
}
|
||||
|
||||
#[cfg(feature = "libsql")]
|
||||
#[allow(clippy::await_holding_lock)]
|
||||
#[tokio::test]
|
||||
async fn test_resolve_llm_for_cli_uses_db_backed_selected_model() {
|
||||
struct MockSettingsStore {
|
||||
|
||||
@@ -6426,6 +6426,7 @@ mod tests {
|
||||
);
|
||||
}
|
||||
|
||||
#[allow(clippy::await_holding_lock)]
|
||||
#[tokio::test]
|
||||
async fn test_runtime_auth_detects_runtime_nearai_api_key_override() {
|
||||
struct EnvGuard(&'static str, Option<String>);
|
||||
|
||||
@@ -74,6 +74,7 @@ mod tests {
|
||||
}
|
||||
}
|
||||
|
||||
#[allow(clippy::await_holding_lock)]
|
||||
#[tokio::test]
|
||||
async fn test_resolve_bearer_token_if_available_uses_runtime_env_override() {
|
||||
let _guard = ENV_MUTEX.lock().expect("env mutex");
|
||||
|
||||
@@ -290,6 +290,8 @@ mod tests {
|
||||
Arc::new(ExtensionManager::new(
|
||||
Arc::new(McpSessionManager::new()),
|
||||
Arc::new(McpProcessManager::new()),
|
||||
None,
|
||||
None,
|
||||
secrets,
|
||||
tools,
|
||||
None,
|
||||
@@ -299,6 +301,7 @@ mod tests {
|
||||
None,
|
||||
owner_id.to_string(),
|
||||
None,
|
||||
None,
|
||||
Vec::new(),
|
||||
))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user