provider/scaleway: govendor integration (#9713)
This commit is contained in:
parent
0dfc7a19c7
commit
71fa8f171b
|
@ -1,21 +0,0 @@
|
||||||
package api
|
|
||||||
|
|
||||||
import (
|
|
||||||
"testing"
|
|
||||||
|
|
||||||
"github.com/scaleway/scaleway-cli/pkg/scwversion"
|
|
||||||
. "github.com/smartystreets/goconvey/convey"
|
|
||||||
)
|
|
||||||
|
|
||||||
func TestNewScalewayAPI(t *testing.T) {
|
|
||||||
Convey("Testing NewScalewayAPI()", t, func() {
|
|
||||||
api, err := NewScalewayAPI("my-organization", "my-token", scwversion.UserAgent(), "")
|
|
||||||
So(err, ShouldBeNil)
|
|
||||||
So(api, ShouldNotBeNil)
|
|
||||||
So(api.Token, ShouldEqual, "my-token")
|
|
||||||
So(api.Organization, ShouldEqual, "my-organization")
|
|
||||||
So(api.Cache, ShouldNotBeNil)
|
|
||||||
So(api.client, ShouldNotBeNil)
|
|
||||||
So(api.Logger, ShouldNotBeNil)
|
|
||||||
})
|
|
||||||
}
|
|
|
@ -1,14 +0,0 @@
|
||||||
package scwversion
|
|
||||||
|
|
||||||
import (
|
|
||||||
"testing"
|
|
||||||
|
|
||||||
. "github.com/smartystreets/goconvey/convey"
|
|
||||||
)
|
|
||||||
|
|
||||||
func TestInit(t *testing.T) {
|
|
||||||
Convey("Testing init()", t, func() {
|
|
||||||
So(VERSION, ShouldNotEqual, "")
|
|
||||||
// So(GITCOMMIT, ShouldNotEqual, "")
|
|
||||||
})
|
|
||||||
}
|
|
|
@ -2042,6 +2042,18 @@
|
||||||
"revision": "b061729afc07e77a8aa4fad0a2fd840958f1942a",
|
"revision": "b061729afc07e77a8aa4fad0a2fd840958f1942a",
|
||||||
"revisionTime": "2016-09-27T10:08:44Z"
|
"revisionTime": "2016-09-27T10:08:44Z"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"checksumSHA1": "YF6baE6Sl76/nVYo0JwJXCkJmGw=",
|
||||||
|
"path": "github.com/scaleway/scaleway-cli/pkg/api",
|
||||||
|
"revision": "88132ecdd39da62f7c73c5a8e1a383d7da5e0e09",
|
||||||
|
"revisionTime": "2016-10-27T15:40:24Z"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"checksumSHA1": "aU2+iXO1oHS4vBtAXXBgicA9YBY=",
|
||||||
|
"path": "github.com/scaleway/scaleway-cli/pkg/scwversion",
|
||||||
|
"revision": "88132ecdd39da62f7c73c5a8e1a383d7da5e0e09",
|
||||||
|
"revisionTime": "2016-10-27T15:40:24Z"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"checksumSHA1": "DWJoWDXcRi4HUCyxU6dLVVjR4pI=",
|
"checksumSHA1": "DWJoWDXcRi4HUCyxU6dLVVjR4pI=",
|
||||||
"path": "github.com/sethvargo/go-fastly",
|
"path": "github.com/sethvargo/go-fastly",
|
||||||
|
|
Loading…
Reference in New Issue