MCPcopy
hub / github.com/PyGithub/PyGithub / testGetSeats

Method testGetSeats

tests/Copilot.py:63–65  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

61 self.assertEqual(repr(seat), 'CopilotSeat(assignee=NamedUser(login="pashafateev"))')
62
63 def testGetSeats(self):
64 seats = self.copilot.get_seats()
65 self.assertListKeyEqual(seats, lambda s: s.assignee.login, ["pashafateev"])
66
67 def testAddSeats(self):
68 seats_created = self.copilot.add_seats(["pashafateev"])

Callers

nothing calls this directly

Calls 2

get_seatsMethod · 0.80
assertListKeyEqualMethod · 0.80

Tested by

no test coverage detected