(self)
| 435 | self.assertEqual(hook.id, 257993) |
| 436 | |
| 437 | def testCreateGitRef(self): |
| 438 | ref = self.repo.create_git_ref( |
| 439 | "refs/heads/BranchCreatedByPyGithub", |
| 440 | "4303c5b90e2216d927155e9609436ccb8984c495", |
| 441 | ) |
| 442 | self.assertEqual( |
| 443 | ref.url, |
| 444 | "https://api.github.com/repos/PyGithub/PyGithub/git/refs/heads/BranchCreatedByPyGithub", |
| 445 | ) |
| 446 | |
| 447 | def testCreateAutolink(self): |
| 448 | key = self.repo.create_autolink("DUMMY-", "https://github.com/PyGithub/PyGithub/issues/<num>") |
nothing calls this directly
no test coverage detected