Improve status module

This commit is contained in:
Daniel
2019-01-29 16:20:06 +01:00
parent e8b5cedc9d
commit 321f3feec5
13 changed files with 342 additions and 107 deletions

View File

@@ -5,9 +5,9 @@ import "testing"
func TestGet(t *testing.T) {
// only test for panics
CurrentSecurityLevel()
// TODO: write real tests
ActiveSecurityLevel()
SelectedSecurityLevel()
ThreatLevel()
PortmasterStatus()
Gate17Status()
option := ConfigIsActive("invalid")