grafana/pkg/plugins/plugins_test.go
2015-02-28 11:38:44 +01:00

20 lines
338 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("../../src/app/plugins")
err := scan(path)
So(err, ShouldBeNil)
So(len(DataSources), ShouldBeGreaterThan, 1)
})
}