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

Method setUp

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

Source from the content-addressed store, hash-verified

31
32class ProjectCard(Framework.TestCase):
33 def setUp(self):
34 super().setUp()
35 self.repo = self.g.get_user().get_repo("PyGithub")
36 self.proj = self.g.get_project(1682941)
37 self.cols = self.proj.get_columns()
38 self.col = self.cols[1]
39 cards = self.col.get_cards()
40 self.pull_card = cards[0]
41 self.issue_card = cards[1]
42 self.note_card = cards[2]
43 self.edit_col = self.g.get_project(4015343).get_columns()[0]
44
45 # See https://developer.github.com/v3/projects/cards/#get-a-project-card
46 def testAttributes(self):

Callers

nothing calls this directly

Calls 5

get_userMethod · 0.80
get_projectMethod · 0.80
get_columnsMethod · 0.80
get_cardsMethod · 0.80
get_repoMethod · 0.45

Tested by

no test coverage detected