(cls)
| 409 | |
| 410 | @classmethod |
| 411 | def create_sync_accounts(cls): |
| 412 | cls.logger.debug("creating account: %s" % LdapTestData.seniors) |
| 413 | cls.senior_account = cls.bind_account_to_ldap( |
| 414 | account=cls.testdata.testdata[LdapTestData.syncAccounts][1]["name"], |
| 415 | ldapdomain=cls.testdata.testdata[LdapTestData.syncAccounts][1]["group"], |
| 416 | accounttype=cls.testdata.testdata[LdapTestData.syncAccounts][1]["accounttype"]) |
| 417 | cls.junior_account = cls.bind_account_to_ldap( |
| 418 | account=cls.testdata.testdata[LdapTestData.syncAccounts][0]["name"], |
| 419 | ldapdomain=cls.testdata.testdata[LdapTestData.syncAccounts][0]["group"], |
| 420 | accounttype=cls.testdata.testdata[LdapTestData.syncAccounts][0]["accounttype"]) |
| 421 | |
| 422 | @classmethod |
| 423 | def bind_account_to_ldap(cls, account, ldapdomain, type="Group", accounttype=0): |
no test coverage detected