Bundle small config file for unit test

This commit is contained in:
Dominik Werder
2021-10-01 15:37:01 +02:00
parent c6b9ba7154
commit 3f151b6e7f
13 changed files with 150 additions and 165 deletions
+1 -12
View File
@@ -38,7 +38,7 @@ fn ca_connect_1() {
},
ix: 0,
};
let mut rx = super::ca_connect_1(pairs, &node_config).await?;
let mut rx = super::ca::ca_connect_1(pairs, &node_config).await?;
while let Some(item) = rx.next().await {
info!("got next: {:?}", item);
}
@@ -46,14 +46,3 @@ fn ca_connect_1() {
})
.unwrap();
}
#[test]
fn zmtp_00() {
taskrun::run(async {
let it = vec![(String::new(), String::new())].into_iter();
let _pairs = BTreeMap::from_iter(it);
crate::zmtp::zmtp_00().await?;
Ok(())
})
.unwrap();
}