closes #5179
[arvados.git] / sdk / go / arvadosclient / arvadosclient_test.go
index 97c9b184e7dadf321af35e47640a4b4ad154dad8..1af964d0a045ad2b4bb0a6dd9610fcf11d8027d3 100644 (file)
@@ -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)
-}