(self)
| 1783 | self.assertEqual(discussion.title, "Is there a way to search if a string present in default branch?") |
| 1784 | |
| 1785 | def testGetDiscussion(self): |
| 1786 | repo = self.g.get_repo("PyGithub/PyGithub") |
| 1787 | discussion = repo.get_discussion(2205, "author { login } number title") |
| 1788 | self.assertEqual(discussion.author.login, "EnricoMi") |
| 1789 | self.assertEqual(discussion.number, 2205) |
| 1790 | self.assertEqual(discussion.title, "Is the PyGithub project dead? How can the community help?") |
| 1791 | |
| 1792 | def testGetDiscussionsByAnswered(self): |
| 1793 | repo = self.g.get_repo("PyGithub/PyGithub") |
nothing calls this directly
no test coverage detected