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

Method testGetAllCards

tests/ProjectColumn.py:88–96  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

86 )
87
88 def testGetAllCards(self):
89 cards = self.get_project_column.get_cards(archived_state="all")
90 self.assertEqual(cards.totalCount, 3)
91 self.assertEqual(cards[0].id, 36285184)
92 self.assertEqual(cards[0].note, "Note3")
93 self.assertEqual(cards[1].id, 36281526)
94 self.assertEqual(cards[1].note, "Note2")
95 self.assertEqual(cards[2].id, 36281516)
96 self.assertEqual(cards[2].note, "Note1")
97
98 def testGetArchivedCards(self):
99 cards = self.get_project_column.get_cards(archived_state="archived")

Callers

nothing calls this directly

Calls 1

get_cardsMethod · 0.80

Tested by

no test coverage detected