File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -23,11 +23,11 @@ tonic = "0.14"
2323tonic-prost = " 0.14"
2424tracing = { version = " 0.1" }
2525tracing-subscriber = { version = " 0.3" }
26+ tokio-stream = { version = " 0.1.17" , features = [" sync" ] }
2627
2728[dev-dependencies ]
2829tracing-subscriber = { version = " 0.3" , features = [" std" , " env-filter" ] }
2930tokio = { version = " 1.48" , features = [" test-util" ] }
30- tokio-stream = { version = " 0.1.17" , features = [" sync" ] }
3131
3232
3333[build-dependencies ]
Original file line number Diff line number Diff line change @@ -18,5 +18,4 @@ pub use proto::common::microgrid::electrical_components::{
1818 ElectricalComponent , ElectricalComponentCategory ,
1919} ;
2020
21- #[ cfg( test) ]
22- pub ( crate ) mod test_utils;
21+ pub mod test_utils;
Original file line number Diff line number Diff line change @@ -17,7 +17,6 @@ mod pb {
1717// Only export what we need
1818pub use pb:: frequenz:: api:: common:: v1alpha8 as common;
1919pub use pb:: frequenz:: api:: microgrid:: v1alpha18 as microgrid;
20- #[ cfg( test) ]
2120pub use pb:: google;
2221
2322mod electrical_component;
Original file line number Diff line number Diff line change @@ -8,6 +8,7 @@ pub use bounds::Bounds;
88
99pub mod client;
1010pub use client:: MicrogridClientHandle ;
11+ pub use client:: test_utils:: { MockComponent , MockMicrogridApiClient } ;
1112pub ( crate ) use client:: proto;
1213
1314mod error;
You can’t perform that action at this time.
0 commit comments