(self)
| 1821 | ) |
| 1822 | |
| 1823 | def testUpdateFile(self): |
| 1824 | updateFile = "doc/testCreateUpdateDeleteFile.md" |
| 1825 | content = "Hello World" |
| 1826 | sha = self.repo.get_contents(updateFile).sha |
| 1827 | self.repo.update_file( |
| 1828 | path=updateFile, |
| 1829 | message="Update file for testUpdateFile", |
| 1830 | content=content, |
| 1831 | sha=sha, |
| 1832 | branch="master", |
| 1833 | committer=github.InputGitAuthor("Enix Yu", "enix223@163.com", "2016-01-15T16:13:30+12:00"), |
| 1834 | author=github.InputGitAuthor("Enix Yu", "enix223@163.com", "2016-01-15T16:13:30+12:00"), |
| 1835 | ) |
| 1836 | |
| 1837 | def testDeleteFile(self): |
| 1838 | deleteFile = "doc/testCreateUpdateDeleteFile.md" |
nothing calls this directly
no test coverage detected