def test2_get_site_pages(self): svc = SitePageService(self.client) pages = svc.pages().get().execute_query() self.assertIsInstance(pages, SitePageMetadataCollection)
def site_pages(self): """Alias to SitePageService. Represents a set of APIs to use for managing site pages.""" return SitePageService(self, ResourcePath("sitePages"))
def test1_init_site_page_service(self): svc = SitePageService(self.client).get().execute_query() self.assertIsNotNone(svc.resource_path)