diff options
author | Joey Hess <joey@kitenet.net> | 2011-03-27 16:58:28 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2011-03-27 16:58:28 -0400 |
commit | 688e94fd30ca1aa908f5387e488451b9ed2f35e5 (patch) | |
tree | 7ac3c7f32170abd167d1157f892b207209fbb4d6 | |
parent | 30f427700f9e9d59a83775a049e670cc05f2dee6 (diff) |
convert test to Remote
-rw-r--r-- | test.hs | 6 |
1 files changed, 2 insertions, 4 deletions
@@ -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 |