13 lines
359 B
Go
13 lines
359 B
Go
package notify
|
|
|
|
import "testing"
|
|
|
|
// R-1204: the household cannot repair its box's tunnel to ep0 — the alarm and its recovery are the operator's only.
|
|
func TestR1204_TunnelEventsAreOperatorOnly(t *testing.T) {
|
|
for _, e := range []string{"wg_tunnel_stale", "wg_tunnel_ok"} {
|
|
if !operatorOnlyEvents[e] {
|
|
t.Fatalf("%s must be operator-only", e)
|
|
}
|
|
}
|
|
}
|