grafana/pkg/plugins/plugins_test.go
2015-03-29 13:33:34 +02:00

20 lines
341 B
Go

package plugins
import (
"path/filepath"
"testing"
. "github.com/smartystreets/goconvey/convey"
)
func TestPluginScans(t *testing.T) {
Convey("When scaning for plugins", t, func() {
path, _ := filepath.Abs("../../public/app/plugins")
err := scan(path)
So(err, ShouldBeNil)
So(len(DataSources), ShouldBeGreaterThan, 1)
})
}