mirror of
https://github.com/iLoveElysia/openbilibili.git
synced 2026-03-14 05:46:26 -05:00
22 lines
388 B
Go
22 lines
388 B
Go
package archive
|
|
|
|
import (
|
|
"context"
|
|
"testing"
|
|
|
|
"github.com/smartystreets/goconvey/convey"
|
|
)
|
|
|
|
func TestDao_ViewPoints(t *testing.T) {
|
|
var (
|
|
c = context.TODO()
|
|
)
|
|
convey.Convey("ViewPoint", t, func(ctx convey.C) {
|
|
vp, err := d.ViewPoint(c, 10106351, 10126396)
|
|
ctx.Convey("", func(ctx convey.C) {
|
|
ctx.So(err, convey.ShouldBeNil)
|
|
ctx.So(vp, convey.ShouldNotBeNil)
|
|
})
|
|
})
|
|
}
|