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

Method testCreateWithNote

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

Source from the content-addressed store, hash-verified

98 self.assertEqual(cards, expectedCards)
99
100 def testCreateWithNote(self):
101 project = self.repo.create_project("Project created by PyGithub", "Project Body")
102 column = project.create_column(
103 "Project Column created by PyGithub",
104 )
105 card1 = column.create_card(note="Project Card")
106 self.assertEqual(card1.id, 16039019)
107
108 def testCreateFromIssue(self):
109 project = self.repo.create_project("Project created by PyGithub", "Project Body")

Callers

nothing calls this directly

Calls 3

create_columnMethod · 0.80
create_cardMethod · 0.80
create_projectMethod · 0.45

Tested by

no test coverage detected