Added 18 new tests covering: - get_latest_sensor_readings_batch/1 (batch operations) - get_latest_interface_stats_batch/1 (batch operations) - list_neighbors/1 (neighbor queries with ordering) - get_neighbor/1 (single neighbor retrieval) - upsert_neighbor/1 (create and update operations) - delete_stale_neighbors/2 (time-based cleanup) Tests verify: - Batch operations match individual queries - Empty input handling - Latest record selection - Ordering by protocol and name - Stale data cleanup across devices - Update semantics for existing records Coverage improvement: - Towerops.Snmp: 63.33% → 73.33% (+10%) - Total tests: 1089 → 1106 (+17 tests) - Overall coverage: 49.69% → 49.82% |
||
|---|---|---|
| .. | ||
| integration | ||
| support | ||
| towerops | ||
| towerops_web | ||
| test_helper.exs | ||