MCPcopy Index your code
hub / github.com/PyGithub/PyGithub / testGetIssuesWithWildcards

Method testGetIssuesWithWildcards

tests/Repository.py:1327–1357  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1325 self.assertListKeyEqual(self.repo.get_issues(mentioned=otherUser), lambda i: i.id, [4793162])
1326
1327 def testGetIssuesWithWildcards(self):
1328 self.assertListKeyEqual(
1329 self.repo.get_issues(milestone="*"),
1330 lambda i: i.id,
1331 [4809786, 4793216, 4789817, 4452000, 3628022, 3624595, 3619973, 3527231],
1332 )
1333 self.assertListKeyEqual(
1334 self.repo.get_issues(milestone="none"),
1335 lambda i: i.id,
1336 [4823331, 4809803, 4809778, 4793106, 3643837, 3527245],
1337 )
1338 self.assertListKeyEqual(
1339 self.repo.get_issues(assignee="*"),
1340 lambda i: i.id,
1341 [
1342 4823331,
1343 4809803,
1344 4809786,
1345 4809778,
1346 4793216,
1347 4793106,
1348 4789817,
1349 4452000,
1350 3643837,
1351 3628022,
1352 3624595,
1353 3527245,
1354 3527231,
1355 ],
1356 )
1357 self.assertListKeyEqual(self.repo.get_issues(assignee="none"), lambda i: i.id, [3619973])
1358
1359 def testGetIssuesWithTypeArgument(self):
1360 self.assertListKeyEqual(

Callers

nothing calls this directly

Calls 2

assertListKeyEqualMethod · 0.80
get_issuesMethod · 0.45

Tested by

no test coverage detected