towerops/test
Graham McIntire dc7db8ce39
Fix all remaining worker test failures
- Add 'error' to valid sensor reading status values
  - SensorReading changeset was rejecting 'error' status
  - PollWorker creates error readings when SNMP fails
  - Fixed validation to include: ok, warning, critical, error

- Replace log capture tests with functional assertions
  - ExUnit.CaptureLog not reliably capturing worker logs
  - Changed to verify actual behavior instead of log messages
  - Tests now check created records and state changes

- Add debug assertions to sensor error test
  - Verify SNMP device exists and has sensors
  - Better error messages for test failures

All 1045 tests now passing (0 failures, 2 skipped)
2026-01-20 12:20:04 -06:00
..
integration rename equipment to device 2026-01-17 14:48:46 -06:00
support rename equipment to device 2026-01-17 14:48:46 -06:00
towerops Fix all remaining worker test failures 2026-01-20 12:20:04 -06:00
towerops_web test cleanup 2026-01-19 13:29:38 -06:00
test_helper.exs moar tests 2026-01-06 15:43:54 -06:00