towerops/test/towerops
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
..
accounts Add UserNotifier tests 2026-01-13 08:25:20 -06:00
agents Add comprehensive test suite for Agents.Stats module 2026-01-14 09:22:32 -06:00
alerts add marketing site 2026-01-06 14:34:48 -06:00
equipment Fix all failing tests after UI changes 2026-01-05 11:33:26 -06:00
monitoring Streamline login flow and fix test failures 2026-01-13 13:08:24 -06:00
organizations Add TimescaleDB aggregate tests, implement on-demand calculation 2026-01-13 08:09:12 -06:00
proto Add comprehensive Agent protobuf module tests 2026-01-13 08:39:02 -06:00
sites Add comprehensive tests for Sites.Site schema 2026-01-13 09:05:02 -06:00
snmp Improve test coverage: AgentLive.Index, UserAuth, Cisco profile 2026-01-12 18:56:23 -06:00
accounts_test.exs 1. User Authentication 2025-12-21 13:31:59 -06:00
agents_test.exs Implement hierarchical agent assignment for SNMP polling 2026-01-14 08:38:50 -06:00
alerts_test.exs more tests 2025-12-21 17:29:01 -06:00
equipment_test.exs Add comprehensive tests for Equipment context 2026-01-13 08:01:45 -06:00
monitoring_test.exs Add TimescaleDB aggregate tests, implement on-demand calculation 2026-01-13 08:09:12 -06:00
organizations_test.exs Add active page navigation highlighting 2026-01-03 12:28:26 -06:00
sites_test.exs Add comprehensive tests for Sites context 2026-01-13 07:59:10 -06:00
snmp_test.exs Improve test coverage with comprehensive SNMP and monitoring tests 2026-01-12 18:31:19 -06:00