(self)
| 43 | self.assertEqual(consumed_licenses.total_seats_purchased, 103) |
| 44 | |
| 45 | def testGetEnterpriseUsers(self): |
| 46 | enterprise_users = self.enterprise.get_consumed_licenses().users |
| 47 | enterprise_users_list = [ |
| 48 | [ |
| 49 | users.github_com_login, |
| 50 | users.github_com_name, |
| 51 | users.enterprise_server_user_ids, |
| 52 | users.github_com_user, |
| 53 | users.enterprise_server_user, |
| 54 | users.visual_studio_subscription_user, |
| 55 | users.license_type, |
| 56 | users.github_com_profile, |
| 57 | users.github_com_member_roles, |
| 58 | users.github_com_enterprise_roles, |
| 59 | users.github_com_verified_domain_emails, |
| 60 | users.github_com_saml_name_id, |
| 61 | users.github_com_orgs_with_pending_invites, |
| 62 | users.github_com_two_factor_auth, |
| 63 | users.enterprise_server_primary_emails, |
| 64 | users.visual_studio_license_status, |
| 65 | users.visual_studio_subscription_email, |
| 66 | users.total_user_accounts, |
| 67 | ] |
| 68 | for users in enterprise_users |
| 69 | ] |
| 70 | self.assertEqual(len(enterprise_users_list), 102) |
| 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( |
nothing calls this directly
no test coverage detected