コード例 #1
0
 def test_should_not_find_bogus_hook(self):
     self.assertFalse(
         travis_utils.hook_exists(THIS_REPO+BOGUS, TRAVIS_TOKEN)
     )
コード例 #2
0
 def test_should_not_find_hooks_unauthenticated(self):
     self.assertFalse(
         travis_utils.hook_exists(THIS_REPO+BOGUS, BOGUS)
     )
コード例 #3
0
 def test_should_find_existing_hook(self):
     self.assertTrue(
         travis_utils.hook_exists(THIS_REPO, TRAVIS_TOKEN)
     )