Esempio n. 1
0
 def _group_loaded():
     SPHelper.get_owners(self.context, self.properties["Id"], owners)
Esempio n. 2
0
 def _user_loaded():
     from office365.sharepoint.directory.SPHelper import SPHelper
     SPHelper.get_members_info(self.context, self.properties["Id"],
                               row_limit, result)
Esempio n. 3
0
 def _user_loaded():
     from office365.sharepoint.directory.SPHelper import SPHelper
     SPHelper.get_my_groups(self.context, self.properties["principalName"], 0, 10, result)
Esempio n. 4
0
 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)