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

Method testGetConsumedLicenses

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

Source from the content-addressed store, hash-verified

38 self.assertEqual(repr(self.enterprise), 'Enterprise(slug="beaver-group")')
39
40 def testGetConsumedLicenses(self):
41 consumed_licenses = self.enterprise.get_consumed_licenses()
42 self.assertEqual(consumed_licenses.total_seats_consumed, 102)
43 self.assertEqual(consumed_licenses.total_seats_purchased, 103)
44
45 def testGetEnterpriseUsers(self):
46 enterprise_users = self.enterprise.get_consumed_licenses().users

Callers

nothing calls this directly

Calls 1

get_consumed_licensesMethod · 0.80

Tested by

no test coverage detected