FIX: TLS options
This commit is contained in:
10
furumi-mount-linux/src/tests.rs
Normal file
10
furumi-mount-linux/src/tests.rs
Normal file
@@ -0,0 +1,10 @@
|
||||
use crate::fs::FurumiFuse;
|
||||
use furumi_client_core::FurumiClient;
|
||||
|
||||
// We need a helper to create a dummy client since FurumiFuse requires one.
|
||||
// The easiest way is to connect to a non-existent port with HTTP, which fails fast,
|
||||
// but for FurumiFuse::new, it just needs the struct, not an active connection yet.
|
||||
// Wait, `connect` returns a Result. Since we don't mock the gRPC server here,
|
||||
// testing FurumiFuse without a real client is hard because FurumiFuse has `client: FurumiClient`.
|
||||
// Instead, we can refactor the Inode mapper into a separate struct to make it easily testable.
|
||||
|
||||
Reference in New Issue
Block a user