Create initial version of new package status
This commit is contained in:
16
status/get_test.go
Normal file
16
status/get_test.go
Normal file
@@ -0,0 +1,16 @@
|
||||
package status
|
||||
|
||||
import "testing"
|
||||
|
||||
func TestGet(t *testing.T) {
|
||||
|
||||
// only test for panics
|
||||
GetCurrentSecurityLevel()
|
||||
GetSelectedSecurityLevel()
|
||||
GetThreatLevel()
|
||||
GetPortmasterStatus()
|
||||
GetGate17Status()
|
||||
option := GetConfigByLevel("invalid")
|
||||
option()
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user