def _group_loaded(): SPHelper.get_owners(self.context, self.properties["Id"], owners)
def _user_loaded(): from office365.sharepoint.directory.SPHelper import SPHelper SPHelper.get_members_info(self.context, self.properties["Id"], row_limit, result)
def _user_loaded(): from office365.sharepoint.directory.SPHelper import SPHelper SPHelper.get_my_groups(self.context, self.properties["principalName"], 0, 10, result)
def _user_loaded(): from office365.sharepoint.directory.SPHelper import SPHelper SPHelper.is_member_of(self.context, self.properties["principalName"], group_id, result)
def test_5_check_site_availability(self): result = SPHelper.check_site_availability( self.client, test_site_url).execute_query() self.assertIsNotNone(result.value)