(dev_eui: EUI64, nb_trans: u32)
| 66 | } |
| 67 | |
| 68 | pub fn nb_trans(dev_eui: EUI64, nb_trans: u32) -> Validator { |
| 69 | Box::new(move || { |
| 70 | let dev_eui = dev_eui; |
| 71 | Box::pin(async move { |
| 72 | let d = device::get(&dev_eui).await.unwrap(); |
| 73 | let ds = d.get_device_session().unwrap(); |
| 74 | assert_eq!(nb_trans, ds.nb_trans); |
| 75 | }) |
| 76 | }) |
| 77 | } |
| 78 | |
| 79 | pub fn enabled_uplink_channel_indices(dev_eui: EUI64, channels: Vec<u32>) -> Validator { |
| 80 | Box::new(move || { |
nothing calls this directly
no test coverage detected