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

Method testGetEnterpriseGetUsers

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

Source from the content-addressed store, hash-verified

71 self.assertEqual(enterprise_users_list[42][0], "beaver-user043")
72
73 def testGetEnterpriseGetUsers(self):
74 enterprise_users = self.enterprise.get_consumed_licenses(licence_users_per_page=1).get_users(
75 licence_users_per_page=100
76 )
77 enterprise_users_list = list(enterprise_users)
78 self.assertEqual(len(enterprise_users_list), 102)
79 self.assertEqual(enterprise_users_list[42].github_com_login, "beaver-user043")

Callers

nothing calls this directly

Calls 2

get_consumed_licensesMethod · 0.80
get_usersMethod · 0.45

Tested by

no test coverage detected