def test_repocache_simple(self):
repocache = cache.RepoCache()
repocache.put(self.root.strpath, 42)
-> url, rev = repocache.get(self.root.join('test').strpath)
assert rev == 42
assert url == self.root.strpath