scv-server 0.3.1

Authoritative session and tool server for SCV
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
//! Unit tests for `src/daemon.rs`.

use super::*;

#[test]
fn delegation_records_live_where_the_layout_says() {
    let home = std::path::Path::new("/tmp/scv-layout-check");
    let registry = DelegationRegistry::new(&scv_client::Layout::new(home));
    let layout = scv_client::Layout::new(home);
    assert_eq!(registry.record_dir(), layout.delegations());
    assert_eq!(registry.conversation_dir(), layout.conversations());
}