(self)
| 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") |
| 1794 | discussions = repo.get_discussions("number title", answered=True) |
| 1795 | self.assertListEqual( |
| 1796 | [d.number for d in discussions], [2993, 2619, 2104, 2500, 2292, 2153, 2277, 2023, 1964, 1778] |
| 1797 | ) |
| 1798 | |
| 1799 | def testGetDiscussionsByCategory(self): |
| 1800 | repo = self.g.get_repo("PyGithub/PyGithub") |
nothing calls this directly
no test coverage detected