summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2011-03-27 16:58:28 -0400
committerGravatar Joey Hess <joey@kitenet.net>2011-03-27 16:58:28 -0400
commit688e94fd30ca1aa908f5387e488451b9ed2f35e5 (patch)
tree7ac3c7f32170abd167d1157f892b207209fbb4d6
parent30f427700f9e9d59a83775a049e670cc05f2dee6 (diff)
convert test to Remote
-rw-r--r--test.hs6
1 files changed, 2 insertions, 4 deletions
diff --git a/test.hs b/test.hs
index 57eb5e664..30ebe6e59 100644
--- a/test.hs
+++ b/test.hs
@@ -35,7 +35,7 @@ import qualified GitAnnex
import qualified LocationLog
import qualified UUID
import qualified Trust
-import qualified Remotes
+import qualified Remote
import qualified Content
import qualified Command.DropUnused
import qualified Key
@@ -337,10 +337,8 @@ test_trust = "git-annex trust/untrust/semitrust" ~: intmpclonerepo $ do
repo = "origin"
trustcheck expected msg = do
present <- annexeval $ do
- Remotes.readConfigs
l <- Trust.trustGet expected
- r <- Remotes.byName repo
- u <- UUID.getUUID r
+ u <- Remote.nameToUUID repo
return $ u `elem` l
assertBool msg present