X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/6c14ca8fe128f4db3bafe4edd1cc5551bc85e1ef..da705110826943b04151f959e059b5f4ffcc4c5e:/sdk/go/arvadosclient/arvadosclient_test.go diff --git a/sdk/go/arvadosclient/arvadosclient_test.go b/sdk/go/arvadosclient/arvadosclient_test.go index 97c9b184e7..1af964d0a0 100644 --- a/sdk/go/arvadosclient/arvadosclient_test.go +++ b/sdk/go/arvadosclient/arvadosclient_test.go @@ -1,8 +1,8 @@ package arvadosclient import ( - "git.curoverse.com/arvados.git/sdk/go/arvadostest" . "gopkg.in/check.v1" + "git.curoverse.com/arvados.git/sdk/go/arvadostest" "net/http" "os" "testing" @@ -100,17 +100,3 @@ func (s *ServerRequiredSuite) TestErrorResponse(c *C) { c.Assert(err.(ArvadosApiError).HttpStatusCode, Equals, 404) } } - -func (s *ServerRequiredSuite) TestAPIDiscovery_Get_defaultTrashLifetime(c *C) { - arv, err := MakeArvadosClient() - valueMap, err := arv.Discovery("defaultTrashLifetime") - c.Assert(err, IsNil) - c.Assert(valueMap["defaultTrashLifetime"], NotNil) -} - -func (s *ServerRequiredSuite) TestAPIDiscovery_Get_noSuchParameter(c *C) { - arv, err := MakeArvadosClient() - valueMap, err := arv.Discovery("noSuchParameter") - c.Assert(err, IsNil) - c.Assert(valueMap["noSuchParameter"], IsNil) -}