(self)
| 453 | self.assertEqual(blob.sha, "5dd930f591cd5188e9ea7200e308ad355182a1d8") |
| 454 | |
| 455 | def testCreateGitTree(self): |
| 456 | tree = self.repo.create_git_tree( |
| 457 | [github.InputGitTreeElement("Foobar.txt", "100644", "blob", content="File created by PyGithub")] |
| 458 | ) |
| 459 | self.assertEqual(tree.sha, "41cf8c178c636a018d537cb20daae09391efd70b") |
| 460 | |
| 461 | def testCreateGitTreeWithBaseTree(self): |
| 462 | base_tree = self.repo.get_git_tree("41cf8c178c636a018d537cb20daae09391efd70b", recursive=False) |
nothing calls this directly
no test coverage detected