fix(desktop): remove unused SCOPE_GENERATION_TEST_LOCK import in tests_captured_scope

The guard is invoked via the fully-qualified path
crate::managed_agents::scope::SCOPE_GENERATION_TEST_LOCK at :146,
matching the style in app_state_scope_tests.rs. The use-block import
added in b450d4693 is therefore unused and triggers clippy -D warnings.

Co-authored-by: Will Pfleger <pfleger.will@gmail.com>
Signed-off-by: Will Pfleger <pfleger.will@gmail.com>
This commit is contained in:
Duncan
2026-08-05 17:54:37 -04:00
co-authored by Will Pfleger
parent e4abdf997a
commit 816222e15a
@@ -16,7 +16,6 @@ use crate::app_state::{build_app_state, AppState};
use crate::commands::personas::snapshot::import::capture_agent_snapshot_import_entry;
use crate::managed_agents::scope::{
current_scope_generation, next_scope_generation, WorkspaceAgentScope,
SCOPE_GENERATION_TEST_LOCK,
};
fn make_scope_with_keys(tmp: &tempfile::TempDir, owner_keys: &nostr::Keys) -> WorkspaceAgentScope {