def test_initialization(self): for (owner, project) in self.iter_repos(): i = Issues(owner=owner, project=project) i.fetch_issues(check_cache=True, cache_dir='./') self._test_base_(i, owner, project)
def test_cache(self): for (owner, project) in self.iter_repos(): i = Issues(owner=owner, project=project) i.fetch_issues(check_cache=True, cache_dir='./') self.assertTrue(i.cached) # Check the internal variable
def test_add_project(self): for (owner, project) in self.iter_repos(): i = Issues() i.add_project(owner, project) i.fetch_issues(check_cache=True, cache_dir='./') self._test_base_(i, owner, project)