towerops/test
Graham McIntire 1abdc549c7
Add comprehensive test suite for Agents.Stats module
Implemented 18 tests covering all 6 functions in the Stats module:
- get_organization_agent_health/1 (3 tests)
- get_equipment_assignment_breakdown/1 (2 tests)
- get_offline_agents/1 (3 tests)
- get_high_load_agents/2 (3 tests)
- get_unmonitored_equipment/1 (4 tests)
- get_agent_metric_stats/1 (2 tests)

All tests verify correct behavior with proper fixtures, SNMP credentials,
and DateTime handling with :second precision.

Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-01-14 09:22:32 -06:00
..
integration Fix credo warnings and software design suggestions 2026-01-06 12:55:22 -06:00
support Add tests for OrganizationsFixtures 2026-01-13 08:59:40 -06:00
towerops Add comprehensive test suite for Agents.Stats module 2026-01-14 09:22:32 -06:00
towerops_web Implement hierarchical agent assignment for SNMP polling 2026-01-14 08:38:50 -06:00
test_helper.exs moar tests 2026-01-06 15:43:54 -06:00