Merge branch 'master' into 4024-pipeline-instances-scroll
[arvados.git] / sdk / go / keepclient / root_sorter_test.go
index 7fe6a70fa847c4b02e26bf314efa426690682cd0..455715d427ef8ac06f478adef20818058331a45a 100644 (file)
@@ -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",