mirror of
https://github.com/pezkuwichain/pezkuwi-telemetry.git
synced 2026-06-18 15:31:01 +00:00
Write some basic test utils to get going; time to start trying them
This commit is contained in:
@@ -29,3 +29,6 @@ thiserror = "1.0.25"
|
||||
tokio = { version = "1.7.0", features = ["full"] }
|
||||
tokio-util = { version = "0.6", features = ["compat"] }
|
||||
warp = "0.3.1"
|
||||
|
||||
[dev-dependencies]
|
||||
test_utils = { path = "../test_utils" }
|
||||
@@ -308,3 +308,17 @@ where
|
||||
// loop ended; give socket back to parent:
|
||||
(tx_to_aggregator, websocket)
|
||||
}
|
||||
|
||||
#[cfg(test)]
|
||||
pub mod test {
|
||||
|
||||
use test_utils::test_simple;
|
||||
|
||||
#[test]
|
||||
fn test_feed_connection () {
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user