Commit graph

2 commits

Author SHA1 Message Date
google-labs-jules[bot]
1b7dccf1b2 Remove sent variable from PingResult which can be derived from len(samples)
Co-authored-by: Horizontal42 <75383519+Horizontal42@users.noreply.github.com>
2026-08-26 14:16:55 +00:00
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