(self)
| 505 | self.assertEqual(commit.sha, "0b820628236ab8bab3890860fc414fa757ca15f4") |
| 506 | |
| 507 | def testCreateGitCommitWithParents(self): |
| 508 | parents = [ |
| 509 | self.repo.get_git_commit("7248e66831d4ffe09ef1f30a1df59ec0a9331ece"), |
| 510 | self.repo.get_git_commit("12d427464f8d91c8e981043a86ba8a2a9e7319ea"), |
| 511 | ] |
| 512 | tree = self.repo.get_git_tree("fae707821159639589bf94f3fb0a7154ec5d441b") |
| 513 | commit = self.repo.create_git_commit("Commit created by PyGithub", tree, parents) |
| 514 | self.assertEqual(commit.sha, "6adf9ea25ff8a8f2a42bcb1c09e42526339037cd") |
| 515 | |
| 516 | def testCreateGitCommitWithAllArguments(self): |
| 517 | tree = self.repo.get_git_tree("107139a922f33bab6fbeb9f9eb8787e7f19e0528") |
nothing calls this directly
no test coverage detected