()
| 124 | |
| 125 | #[tokio::test] |
| 126 | async fn test_local_peer_id() -> Result<()> { |
| 127 | let test_runner = TestRunnerBuilder::new().build().await?; |
| 128 | let got_peer_id = test_runner.client.local_peer_id().await?; |
| 129 | assert_eq!(test_runner.peer_id, got_peer_id); |
| 130 | Ok(()) |
| 131 | } |
| 132 | |
| 133 | #[test(tokio::test(flavor = "multi_thread", worker_threads = 2))] |
| 134 | async fn test_two_nodes() -> Result<()> { |
nothing calls this directly
no test coverage detected