def test_get_base_directory(self): hgrepo = MercurialRepository(self.directory, init=True) d = hgrepo.get_base_directory() eq_(self.directory, d)