You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

31 lines
647 B

package redis
import (
"context"
"testing"
"github.com/smartystreets/goconvey/convey"
)
func TestRedisMoniRuleStats(t *testing.T) {
var (
c = context.TODO()
)
convey.Convey("MoniRuleStats", t, func(ctx convey.C) {
_, err := d.MoniRuleStats(c, 1, 0, 0)
ctx.Convey("Then err should be nil.", func(ctx convey.C) {
ctx.So(err, convey.ShouldBeNil)
})
})
}
func TestRedisMoniRuleOids(t *testing.T) {
var (
c = context.TODO()
)
convey.Convey("MoniRuleOids", t, func(ctx convey.C) {
_, err := d.MoniRuleOids(c, 1, 0, 0)
ctx.Convey("Then err should be nil.", func(ctx convey.C) {
ctx.So(err, convey.ShouldBeNil)
})
})
}