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

Method testGetLabels

tests/PullRequest.py:433–434  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

431 )
432
433 def testGetLabels(self):
434 self.assertListKeyEqual(self.pull.get_labels(), lambda lb: lb.name, ["wip", "refactoring"])
435
436 def testAddAndRemoveLabels(self):
437 wip = self.repo.get_label("wip")

Callers

nothing calls this directly

Calls 2

assertListKeyEqualMethod · 0.80
get_labelsMethod · 0.45

Tested by

no test coverage detected