(self)
| 1807 | self.assertListEqual([d.number for d in discussions], [2938, 2495, 2559, 2104, 2539, 2480]) |
| 1808 | |
| 1809 | def testCreateFile(self): |
| 1810 | newFile = "doc/testCreateUpdateDeleteFile.md" |
| 1811 | content = b"Hello world" |
| 1812 | author = github.InputGitAuthor("Enix Yu", "enix223@163.com", "2016-01-15T16:13:30+12:00") |
| 1813 | self.assertEqual(repr(author), 'InputGitAuthor(name="Enix Yu")') |
| 1814 | self.repo.create_file( |
| 1815 | path=newFile, |
| 1816 | message="Create file for testCreateFile", |
| 1817 | content=content, |
| 1818 | branch="master", |
| 1819 | committer=author, |
| 1820 | author=author, |
| 1821 | ) |
| 1822 | |
| 1823 | def testUpdateFile(self): |
| 1824 | updateFile = "doc/testCreateUpdateDeleteFile.md" |
nothing calls this directly
no test coverage detected