Skip to content

Commit 0ee0aa2

Browse files
committed
Test security groups valid policy
1 parent 8e5bea0 commit 0ee0aa2

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

pkg/cli/x_security-groups_test.go

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
package cli
2+
3+
import (
4+
"testing"
5+
6+
. "github.com/smartystreets/goconvey/convey"
7+
)
8+
9+
func TestSecurity_groups(t *testing.T) {
10+
Convey("Testing Security groups valid policy", t, func() {
11+
So(isValidPolicy("accept"), ShouldEqual, true)
12+
So(isValidPolicy("notvalid"), ShouldEqual, false)
13+
})
14+
}

0 commit comments

Comments
 (0)