X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/e61de9add861db4c043341f3926acb95ded37862..a128baa147df78cadb5c1657dfa740fad80570ea:/sdk/go/keepclient/root_sorter_test.go diff --git a/sdk/go/keepclient/root_sorter_test.go b/sdk/go/keepclient/root_sorter_test.go index 7fe6a70fa8..455715d427 100644 --- a/sdk/go/keepclient/root_sorter_test.go +++ b/sdk/go/keepclient/root_sorter_test.go @@ -1,7 +1,6 @@ package keepclient import ( - "crypto/md5" "fmt" . "gopkg.in/check.v1" "strconv" @@ -27,10 +26,6 @@ func FakeServiceRoots(n uint64) (map[string]string) { return sr } -func Md5String(data string) (string) { - return fmt.Sprintf("%032x", md5.Sum([]byte(data))) -} - func (*RootSorterSuite) EmptyRoots(c *C) { rs := NewRootSorter(map[string]string{}, Md5String("foo")) c.Check(rs.GetSortedRoots(), Equals, []string{}) @@ -44,7 +39,7 @@ func (*RootSorterSuite) JustOneRoot(c *C) { func (*RootSorterSuite) ReferenceSet(c *C) { fakeroots := FakeServiceRoots(16) // These reference probe orders are explained further in - // ../../python/arvados/keep.py: + // ../../python/tests/test_keep_client.py: expected_orders := []string{ "3eab2d5fc9681074", "097dba52e648f1c3",