python-terrascript/tests/test_provider_iwarapter_pin...

169 lines
5.2 KiB
Python

# tests/test_provider_iwarapter_pingfederate.py
# Automatically generated by tools/makecode.py (24-Sep-2021 15:24:44 UTC)
def test_provider_import():
import terrascript.provider.iwarapter.pingfederate
def test_resource_import():
from terrascript.resource.iwarapter.pingfederate import (
pingfederate_authentication_api_application,
)
from terrascript.resource.iwarapter.pingfederate import (
pingfederate_authentication_api_settings,
)
from terrascript.resource.iwarapter.pingfederate import (
pingfederate_authentication_policies,
)
from terrascript.resource.iwarapter.pingfederate import (
pingfederate_authentication_policies_settings,
)
from terrascript.resource.iwarapter.pingfederate import (
pingfederate_authentication_policy_contract,
)
from terrascript.resource.iwarapter.pingfederate import (
pingfederate_authentication_policy_fragment,
)
from terrascript.resource.iwarapter.pingfederate import (
pingfederate_authentication_selector,
)
from terrascript.resource.iwarapter.pingfederate import pingfederate_certificates_ca
from terrascript.resource.iwarapter.pingfederate import (
pingfederate_certificates_revocation_settings,
)
from terrascript.resource.iwarapter.pingfederate import (
pingfederate_custom_data_store,
)
from terrascript.resource.iwarapter.pingfederate import (
pingfederate_extended_properties,
)
from terrascript.resource.iwarapter.pingfederate import pingfederate_idp_adapter
from terrascript.resource.iwarapter.pingfederate import (
pingfederate_idp_sp_connection,
)
from terrascript.resource.iwarapter.pingfederate import (
pingfederate_incoming_proxy_settings,
)
from terrascript.resource.iwarapter.pingfederate import pingfederate_jdbc_data_store
from terrascript.resource.iwarapter.pingfederate import pingfederate_kerberos_realm
from terrascript.resource.iwarapter.pingfederate import pingfederate_keypair_signing
from terrascript.resource.iwarapter.pingfederate import (
pingfederate_keypair_signing_csr,
)
from terrascript.resource.iwarapter.pingfederate import (
pingfederate_keypair_ssl_server,
)
from terrascript.resource.iwarapter.pingfederate import (
pingfederate_keypair_ssl_server_csr,
)
from terrascript.resource.iwarapter.pingfederate import (
pingfederate_keypair_ssl_server_settings,
)
from terrascript.resource.iwarapter.pingfederate import (
pingfederate_keypairs_oauth_openid_connect,
)
from terrascript.resource.iwarapter.pingfederate import pingfederate_ldap_data_store
from terrascript.resource.iwarapter.pingfederate import (
pingfederate_notification_publisher,
)
from terrascript.resource.iwarapter.pingfederate import (
pingfederate_oauth_access_token_manager,
)
from terrascript.resource.iwarapter.pingfederate import (
pingfederate_oauth_access_token_mappings,
)
from terrascript.resource.iwarapter.pingfederate import (
pingfederate_oauth_auth_server_settings,
)
from terrascript.resource.iwarapter.pingfederate import (
pingfederate_oauth_authentication_policy_contract_mapping,
)
from terrascript.resource.iwarapter.pingfederate import pingfederate_oauth_client
from terrascript.resource.iwarapter.pingfederate import (
pingfederate_oauth_openid_connect_policy,
)
from terrascript.resource.iwarapter.pingfederate import (
pingfederate_oauth_resource_owner_credentials_mappings,
)
from terrascript.resource.iwarapter.pingfederate import (
pingfederate_password_credential_validator,
)
from terrascript.resource.iwarapter.pingfederate import (
pingfederate_pingone_connection,
)
from terrascript.resource.iwarapter.pingfederate import pingfederate_server_settings
from terrascript.resource.iwarapter.pingfederate import pingfederate_sp_adapter
from terrascript.resource.iwarapter.pingfederate import (
pingfederate_sp_authentication_policy_contract_mapping,
)
from terrascript.resource.iwarapter.pingfederate import (
pingfederate_sp_idp_connection,
)
def test_datasource_import():
from terrascript.data.iwarapter.pingfederate import pingfederate_custom_data_store
from terrascript.data.iwarapter.pingfederate import pingfederate_jdbc_data_store
from terrascript.data.iwarapter.pingfederate import pingfederate_keypair_signing_csr
from terrascript.data.iwarapter.pingfederate import (
pingfederate_keypair_ssl_server_csr,
)
from terrascript.data.iwarapter.pingfederate import pingfederate_ldap_data_store
from terrascript.data.iwarapter.pingfederate import pingfederate_version
# TODO: Shortcut imports without namespace for official and supported providers.
# TODO: This has to be moved into a required_providers block.
# def test_version_source():
#
# import terrascript.provider.iwarapter.pingfederate
#
# t = terrascript.provider.iwarapter.pingfederate.pingfederate()
# s = str(t)
#
# assert 'https://github.com/iwarapter/terraform-provider-pingfederate' in s
# assert '0.0.21' in s