def testItShouldBuildDroidhgModulesPathWithTwoAdditionalRepository(self): Configuration._Configuration__config = self.mockConfigWithRepos(['/usr/local/mercury/modules', '/tmp/modules']) assert Repository.droidhg_modules_path() == "/usr/local/mercury/modules:/tmp/modules"
def testItShouldBuildDroidhgModulesPathWithoutAConfigFile(self): Configuration._Configuration__config = self.mockConfigWithoutRepos() assert Repository.droidhg_modules_path() == ""
def testItShouldBuildDroidhgModulesPathAsDefault(self): Configuration._Configuration__config = self.mockConfigWithRepos([]) assert Repository.droidhg_modules_path() == ""