def test2_get_site_pages(self):
     svc = SitePageService(self.client)
     pages = svc.pages().get().execute_query()
     self.assertIsInstance(pages, SitePageMetadataCollection)
Exemplo n.º 2
0
 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)