Horizontal42
|
c3d44486ce
|
Add test suite for netsleuth.probes.latency (#16)
Creates `tests/test_latency.py` providing test coverage for `src/netsleuth/probes/latency.py`. Validates ICMP sampling (both Unix and Windows), TCP fallback logic, address resolution, orchestration (`ping_host`, `ping_fanout`), and summary statistics calculation. Uses pytest-asyncio and unittest.mock for testing async concurrent network flows.
Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com>
|
2026-08-19 17:17:26 +03:00 |
|