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.
23 lines
442 B
23 lines
442 B
package service |
|
|
|
import ( |
|
"testing" |
|
|
|
. "github.com/smartystreets/goconvey/convey" |
|
) |
|
|
|
func Test_Bangumi(t *testing.T) { |
|
Convey("bangumi", t, func() { |
|
res, err := s.BangumiContent(c, 1, 10, 1, "douban") |
|
So(err, ShouldBeNil) |
|
So(res, ShouldNotBeEmpty) |
|
}) |
|
} |
|
|
|
func Test_BangumiOff(t *testing.T) { |
|
Convey("bangumi", t, func() { |
|
res, err := s.BangumiOff(c, 1, 10, 1, 1, "douban") |
|
So(err, ShouldBeNil) |
|
So(res, ShouldNotBeEmpty) |
|
}) |
|
}
|
|
|