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

Method testCreateFromIssue

tests/ProjectCard.py:108–115  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

106 self.assertEqual(card1.id, 16039019)
107
108 def testCreateFromIssue(self):
109 project = self.repo.create_project("Project created by PyGithub", "Project Body")
110 column = project.create_column(
111 "Project Column created by PyGithub",
112 )
113 issue = self.repo.create_issue(title="Issue created by PyGithub")
114 card2 = column.create_card(content_id=issue.id, content_type="Issue")
115 self.assertEqual(card2.id, 16039106)
116
117 def testEditWithoutParameters(self):
118 card = self.edit_col.create_card(note="Project Card")

Callers

nothing calls this directly

Calls 4

create_columnMethod · 0.80
create_issueMethod · 0.80
create_cardMethod · 0.80
create_projectMethod · 0.45

Tested by

no test coverage detected