Changed expect() to stub() in all discover_wireless_sensors/1 tests to handle multiple SNMP get calls: - Static sensor fetch calls Client.get() for CPU - ePMP mode detection calls Client.get() for wirelessInterfaceMode - Each sensor value fetch calls Client.get() (RSSI, SNR, Frequency, Clients) Using stub() allows unlimited calls vs expect() which enforces exactly one call, fixing Mox.UnexpectedCallError in all tests. Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| integration | ||
| mix/tasks | ||
| snmpkit | ||
| support | ||
| towerops | ||
| towerops_web | ||
| test_helper.exs | ||
| towerops_native_test.exs | ||