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

Method testCreateIssueWithAllArguments

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

Source from the content-addressed store, hash-verified

376 self.assertEqual(issue.number, 28)
377
378 def testCreateIssueWithAllArguments(self):
379 user = self.g.get_user("jacquev6")
380 milestone = self.repo.get_milestone(2)
381 question = self.repo.get_label("Question")
382 issue = self.repo.create_issue(
383 "Issue also created by PyGithub",
384 "Body created by PyGithub",
385 user,
386 milestone,
387 [question],
388 ["jacquev6", "stuglaser"],
389 )
390 self.assertEqual(issue.number, 30)
391
392 def testCreateIssueWithAllArgumentsStringLabel(self):
393 user = self.g.get_user("jacquev6")

Callers

nothing calls this directly

Calls 4

get_userMethod · 0.80
get_milestoneMethod · 0.80
get_labelMethod · 0.80
create_issueMethod · 0.80

Tested by

no test coverage detected