(self)
| 180 | self.assertEqual(repos.totalCount, 0) |
| 181 | |
| 182 | def testSearchIssues(self): |
| 183 | issues = self.g.search_issues("compile", sort="comments", order="desc", language="C++") |
| 184 | self.assertListKeyBegin( |
| 185 | issues, |
| 186 | lambda i: i.id, |
| 187 | [ |
| 188 | 12068673, |
| 189 | 23250111, |
| 190 | 14371957, |
| 191 | 9423897, |
| 192 | 24277400, |
| 193 | 2408877, |
| 194 | 11338741, |
| 195 | 13980502, |
| 196 | 27697165, |
| 197 | 23102422, |
| 198 | ], |
| 199 | ) |
| 200 | self.assertEqual(issues[0].score, 0.08252439) |
| 201 | |
| 202 | def testSearchCommits(self): |
| 203 | pages = self.g.search_commits(query="hash:5b0224e868cc9242c9450ef02efbe3097abd7ba2") |
nothing calls this directly
no test coverage detected