def test_1_get_app_catalog(self):
     admin_client = ClientContext(test_admin_site_url).with_credentials(
         test_user_credentials)
     tenant_settings = TenantSettings.current(
         admin_client).get().execute_query()
     self.assertIsNotNone(tenant_settings.resource_path)
     site = Site.from_url(
         tenant_settings.corporate_catalog_url).with_credentials(
             test_user_credentials)
     catalog = site.root_web.site_collection_app_catalog.get(
     ).execute_query()
     self.assertIsNotNone(catalog.resource_path)
     self.__class__.catalog = catalog
 def test2_get_tenant_settings(self):
     tenant_settings = TenantSettings.current(
         self.client).get().execute_query()
     self.assertIsNotNone(tenant_settings.resource_path)
 def test2_get_tenant_settings(self):
     tenant_settings = TenantSettings.current(self.client)
     self.client.execute_query()
     self.assertIsNotNone(tenant_settings.properties)