From 71fa8f171b6013f7c06b1f29a3df0a0253b237d5 Mon Sep 17 00:00:00 2001 From: Raphael Randschau Date: Sat, 29 Oct 2016 13:28:02 +0200 Subject: [PATCH] provider/scaleway: govendor integration (#9713) --- .../scaleway/scaleway-cli/pkg/api/api_test.go | 21 ------------------- .../pkg/scwversion/version_test.go | 14 ------------- vendor/vendor.json | 12 +++++++++++ 3 files changed, 12 insertions(+), 35 deletions(-) delete mode 100644 vendor/github.com/scaleway/scaleway-cli/pkg/api/api_test.go delete mode 100644 vendor/github.com/scaleway/scaleway-cli/pkg/scwversion/version_test.go diff --git a/vendor/github.com/scaleway/scaleway-cli/pkg/api/api_test.go b/vendor/github.com/scaleway/scaleway-cli/pkg/api/api_test.go deleted file mode 100644 index 4889f0cb8..000000000 --- a/vendor/github.com/scaleway/scaleway-cli/pkg/api/api_test.go +++ /dev/null @@ -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) - }) -} diff --git a/vendor/github.com/scaleway/scaleway-cli/pkg/scwversion/version_test.go b/vendor/github.com/scaleway/scaleway-cli/pkg/scwversion/version_test.go deleted file mode 100644 index 39582e39c..000000000 --- a/vendor/github.com/scaleway/scaleway-cli/pkg/scwversion/version_test.go +++ /dev/null @@ -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, "") - }) -} diff --git a/vendor/vendor.json b/vendor/vendor.json index 9760d7554..4c1d37057 100644 --- a/vendor/vendor.json +++ b/vendor/vendor.json @@ -2042,6 +2042,18 @@ "revision": "b061729afc07e77a8aa4fad0a2fd840958f1942a", "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=", "path": "github.com/sethvargo/go-fastly",