jared
0d25dd74f1
test: expand diagnose test coverage — parsers, dmesg, lldp, and analyze
...
Lint / Python (flake8) (push) Failing after 40s
Lint / JS (eslint) (push) Successful in 8s
Security / Python Security (bandit) (push) Failing after 1m0s
Test / Python Tests (pytest) (push) Successful in 56s
Lint / Notify on failure (push) Successful in 7s
Lint / Deploy (push) Has been skipped
Add 47 new tests covering parse_ethtool_driver, parse_nic_stats,
parse_ethtool_dom (SFP DOM), parse_ip_link, parse_dmesg, parse_lldpctl,
and the analyze() health-analysis method with all issue/warning/info
code paths (NO_CARRIER, HALF_DUPLEX, SPEED_MISMATCH, SFP thresholds,
CRC errors, carrier flapping, LLDP mismatch/missing).
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-04-25 19:53:35 -04:00
jared
50da3c0a59
Add pytest test suite and security scanning
...
Lint / Python (flake8) (push) Failing after 20s
Lint / JS (eslint) (push) Successful in 7s
Security / Python Security (bandit) (push) Failing after 22s
Test / Python Tests (pytest) (push) Successful in 32s
Lint / Deploy (push) Has been skipped
- Add 33 tests for DiagnosticsRunner static methods (build_ssh_command,
parse_output, parse_sysfs_stats, parse_ethtool and variants)
- Add test.yml CI workflow running pytest on every push/PR
- Add security.yml CI workflow running bandit on every push/PR (weekly)
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-04-14 12:22:57 -04:00