netsleuth/tests
google-labs-jules[bot] ae97ebb453 Add comprehensive test suite for collect_local_net in netinfo.py.
This addresses the missing coverage for local network parameter discovery. Tests cover happy paths, CGNAT scenarios, and cases with no network components. The additions improve reliability and prevent regression of core host capability detection.

Co-authored-by: Horizontal42 <75383519+Horizontal42@users.noreply.github.com>
2026-08-19 17:17:36 +03:00
..
fixtures add system DNS vs DoH comparison and transparent proxy detection 2026-08-09 17:45:33 +03:00
conftest.py project scaffold: uv packaging, config.yaml, package skeleton 2026-08-08 21:12:41 +03:00
test_alerting.py Add tests for _os_timezone function (#22) 2026-08-19 16:40:44 +03:00
test_bgp.py extract NDT7 consent check into a helper function 2026-08-09 16:07:44 +03:00
test_bgp_path.py fix international-loop detection: drop dead ip_country parameter 2026-08-10 21:18:28 +03:00
test_captive_portal.py Add tests for _os_timezone function (#22) 2026-08-19 16:40:44 +03:00
test_cgnat_nat64.py 🧪 Add error test for ValueError in ip_geo.py (#10) 2026-08-19 17:15:03 +03:00
test_cli.py Add tests for _os_timezone function (#22) 2026-08-19 16:40:44 +03:00
test_cli_formats.py add Prometheus/CSV export, auto-diff vs previous run, and --trend 2026-08-12 22:10:21 +03:00
test_compare.py add Prometheus/CSV export, auto-diff vs previous run, and --trend 2026-08-12 22:10:21 +03:00
test_config.py measure QUIC/HTTP3 handshake RTT to catch UDP/443 blocking (--quic) 2026-08-13 01:56:21 +03:00
test_dns_advanced.py add system DNS vs DoH comparison and transparent proxy detection 2026-08-09 17:45:33 +03:00
test_dns_leak.py rename package netcheck to netsleuth (name taken on pypi) 2026-08-09 11:43:00 +03:00
test_dnsbl_decode.py add tests for decode_dnsbl fallback and mixed responses 2026-08-09 16:18:57 +03:00
test_dpi_check.py add single-host DPI/TCP-RST self-diagnostic probe 2026-08-09 17:45:27 +03:00
test_ecmp.py detect ECMP load balancing via N-run traceroute diff (--ecmp) 2026-08-12 22:42:38 +03:00
test_exporter.py Add tests for _os_timezone function (#22) 2026-08-19 16:40:44 +03:00
test_exporter_l7.py render TLS, DNS advanced, path diversity, prefix bench, DPI sections in reports 2026-08-09 17:56:07 +03:00
test_history.py sort reports into logs/YYYY/MM/DD, readable filenames 2026-08-14 12:09:15 +03:00
test_hop_asn.py Add tests for _os_timezone function (#22) 2026-08-19 16:40:44 +03:00
test_icmp_win_parse.py detect PMTUD blackholes via a DF-flag binary search (--pmtud) 2026-08-12 23:15:59 +03:00
test_icmp_win_trace.py add --interface flag to force outbound probing through a specific adapter 2026-08-09 13:36:06 +03:00
test_iface.py Add tests for _os_timezone function (#22) 2026-08-19 16:40:44 +03:00
test_interpret.py Add tests for _os_timezone function (#22) 2026-08-19 16:40:44 +03:00
test_interpret_l7.py Add tests for _os_timezone function (#22) 2026-08-19 16:40:44 +03:00
test_ip_geo_normalize.py Add tests for _os_timezone function (#22) 2026-08-19 16:40:44 +03:00
test_latency.py Add test suite for netsleuth.probes.latency (#16) 2026-08-19 17:17:26 +03:00
test_metrics.py add Prometheus/CSV export, auto-diff vs previous run, and --trend 2026-08-12 22:10:21 +03:00
test_models.py Add tests for _os_timezone function (#22) 2026-08-19 16:40:44 +03:00
test_netinfo.py Add comprehensive test suite for collect_local_net in netinfo.py. 2026-08-19 17:17:36 +03:00
test_orchestration.py Add tests for _os_timezone function (#22) 2026-08-19 16:40:44 +03:00
test_pmtud.py Add tests for _os_timezone function (#22) 2026-08-19 16:40:44 +03:00
test_prefix_benchmark.py add AS prefix latency benchmark probe 2026-08-09 17:43:10 +03:00
test_prober_stats.py add jitter matrix (p95/p99/cv) to ping stats 2026-08-09 17:34:06 +03:00
test_quic_rtt.py measure QUIC/HTTP3 handshake RTT to catch UDP/443 blocking (--quic) 2026-08-13 01:56:21 +03:00
test_reputation.py 🧪 Add tests for check_fresh in reputation.py (#9) 2026-08-19 17:09:13 +03:00
test_speed_cloudflare.py Add tests for _os_timezone function (#22) 2026-08-19 16:40:44 +03:00
test_speed_fastcom.py 🔒 Remove hardcoded Fast.com API token (#13) 2026-08-19 16:48:52 +03:00
test_speed_math.py Add test coverage for _as_int handling TypeError and ValueError (#8) 2026-08-19 17:13:07 +03:00
test_stats.py add jitter matrix (p95/p99/cv) to ping stats 2026-08-09 17:34:06 +03:00
test_tls_rtt.py Add tests for _os_timezone function (#22) 2026-08-19 16:40:44 +03:00
test_traceparse.py Add tests for _os_timezone function (#22) 2026-08-19 16:40:44 +03:00
test_traceroute_cascade.py Add tests for _os_timezone function (#22) 2026-08-19 16:40:44 +03:00
test_trend.py add Prometheus/CSV export, auto-diff vs previous run, and --trend 2026-08-12 22:10:21 +03:00
test_watch.py 🧪 Add tests for render_dashboard in watch.py (#27) 2026-08-19 17:06:54 +03:00