()
| 14 | use nodedb_types::Surrogate; |
| 15 | |
| 16 | fn open_credentials() -> (tempfile::TempDir, Arc<CredentialStore>) { |
| 17 | let dir = tempfile::tempdir().unwrap(); |
| 18 | let creds = Arc::new(CredentialStore::open(&dir.path().join("system.redb")).unwrap()); |
| 19 | (dir, creds) |
| 20 | } |
| 21 | |
| 22 | fn fresh_registry() -> SurrogateRegistryHandle { |
| 23 | Arc::new(RwLock::new(SurrogateRegistry::new())) |
no test coverage detected