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.
33 lines
660 B
33 lines
660 B
package dao |
|
|
|
import ( |
|
"context" |
|
"testing" |
|
|
|
"github.com/smartystreets/goconvey/convey" |
|
) |
|
|
|
func TestDaoBfsData(t *testing.T) { |
|
convey.Convey("BfsData", t, func(ctx convey.C) { |
|
var ( |
|
c = context.Background() |
|
bfsURL = "" |
|
) |
|
ctx.Convey("When everything goes positive", func(ctx convey.C) { |
|
testDao.BfsData(c, bfsURL) |
|
}) |
|
}) |
|
} |
|
|
|
func TestDaoBfsDmUpload(t *testing.T) { |
|
convey.Convey("BfsDmUpload", t, func(ctx convey.C) { |
|
var ( |
|
c = context.Background() |
|
fileName = "" |
|
bs = []byte("231231231231") |
|
) |
|
ctx.Convey("When everything goes positive", func(ctx convey.C) { |
|
testDao.BfsDmUpload(c, fileName, bs) |
|
}) |
|
}) |
|
}
|
|
|