19675: Merge branch '19675-instance-types-panel' from arvados-workbench2.git
[arvados.git] / lib / cli / get_test.go
index 9b8f1a0089ae07bc308cedafb36f18a210d03487..f8f94caea6728aca2b4e014b4e184b2cef476be0 100644 (file)
@@ -9,7 +9,7 @@ import (
        "regexp"
        "testing"
 
-       "git.curoverse.com/arvados.git/sdk/go/arvadostest"
+       "git.arvados.org/arvados.git/sdk/go/arvadostest"
        check "gopkg.in/check.v1"
 )
 
@@ -25,7 +25,7 @@ type GetSuite struct{}
 func (s *GetSuite) TestGetCollectionJSON(c *check.C) {
        stdout := bytes.NewBuffer(nil)
        stderr := bytes.NewBuffer(nil)
-       exited := Get("arvados-client get", []string{arvadostest.FooCollection}, bytes.NewReader(nil), stdout, stderr)
+       exited := Get.RunCommand("arvados-client get", []string{arvadostest.FooCollection}, bytes.NewReader(nil), stdout, stderr)
        c.Check(stdout.String(), check.Matches, `(?ms){.*"uuid": "`+arvadostest.FooCollection+`".*}\n`)
        c.Check(stdout.String(), check.Matches, `(?ms){.*"portable_data_hash": "`+regexp.QuoteMeta(arvadostest.FooCollectionPDH)+`".*}\n`)
        c.Check(stderr.String(), check.Equals, "")