| 12345678910111213141516171819 |
- 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), ShouldEqual, 1)
- })
- }
|