Пример #1
0
 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)
Пример #2
0
 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
Пример #3
0
 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)