()
| 933 | |
| 934 | #[test] |
| 935 | fn test_store_open_creates_directory() { |
| 936 | let temp_dir = TempDir::new().unwrap(); |
| 937 | let store_path = temp_dir.path().join("identities"); |
| 938 | |
| 939 | assert!(!store_path.exists()); |
| 940 | let _store = IdentityStore::open(&store_path).unwrap(); |
| 941 | assert!(store_path.exists()); |
| 942 | } |
| 943 | |
| 944 | #[test] |
| 945 | fn test_store_save_and_load() { |