14 lines
393 B
Go
14 lines
393 B
Go
package notify
|
|
|
|
import "testing"
|
|
|
|
// R-1192 follow-up (night 2026-10-21): the household cannot add swap to its host — the host-swap alarm and its
|
|
// recovery are the operator's only.
|
|
func TestR1192_HostSwapEventsAreOperatorOnly(t *testing.T) {
|
|
for _, e := range []string{"host_swap_short", "host_swap_ok"} {
|
|
if !operatorOnlyEvents[e] {
|
|
t.Fatalf("%s must be operator-only", e)
|
|
}
|
|
}
|
|
}
|