Files
go-common/app/job/live/dao-anchor-job/internal/service/cover_test.go
2019-04-22 18:49:16 +08:00

27 lines
389 B
Go

package service
import (
"flag"
"testing"
. "github.com/smartystreets/goconvey/convey"
"go-common/app/job/live/dao-anchor-job/internal/conf"
)
var s *Service
func init() {
flag.Set("conf", "../../cmd/test.toml")
if err := conf.Init(); err != nil {
panic(err)
}
s = New(conf.Conf)
}
func TestCover(t *testing.T) {
Convey("testCover", t, func() {
s.updateKeyFrame()
})
}