Пример #1
0
 def test_should_return_github(self):
     self.assertEqual(
         github_utils.get_user_and_repo('github/gitignore', GH_TOKEN),
         ('github', 'Organization', 'gitignore')
     )
Пример #2
0
 def test_should_return_punchagan(self):
     self.assertEqual(
         github_utils.get_user_and_repo(THIS_REPO, GH_TOKEN),
         ('punchagan', 'User', 'statiki')
     )