python-terrascript/tests/test_provider_tozny_tozny.py

67 lines
2.2 KiB
Python

# tests/test_provider_tozny_tozny.py
# Automatically generated by tools/makecode.py (24-Sep-2021 15:28:59 UTC)
def test_provider_import():
import terrascript.provider.tozny.tozny
def test_resource_import():
from terrascript.resource.tozny.tozny import tozny_account
from terrascript.resource.tozny.tozny import tozny_client_registration_token
from terrascript.resource.tozny.tozny import tozny_realm
from terrascript.resource.tozny.tozny import tozny_realm_application
from terrascript.resource.tozny.tozny import tozny_realm_application_client_secret
from terrascript.resource.tozny.tozny import tozny_realm_application_mapper
from terrascript.resource.tozny.tozny import tozny_realm_application_role
from terrascript.resource.tozny.tozny import tozny_realm_broker_delegation
from terrascript.resource.tozny.tozny import tozny_realm_broker_identity
from terrascript.resource.tozny.tozny import tozny_realm_default_groups
from terrascript.resource.tozny.tozny import tozny_realm_group
from terrascript.resource.tozny.tozny import tozny_realm_group_role_mappings
from terrascript.resource.tozny.tozny import tozny_realm_identity
from terrascript.resource.tozny.tozny import tozny_realm_identity_group_membership
from terrascript.resource.tozny.tozny import tozny_realm_provider
from terrascript.resource.tozny.tozny import tozny_realm_provider_mapper
from terrascript.resource.tozny.tozny import tozny_realm_role
def test_datasource_import():
from terrascript.data.tozny.tozny import tozny_realm_application
from terrascript.data.tozny.tozny import tozny_realm_application_role
from terrascript.data.tozny.tozny import tozny_realm_application_saml_description
from terrascript.data.tozny.tozny import tozny_realm_role
# 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.tozny.tozny
#
# t = terrascript.provider.tozny.tozny.tozny()
# s = str(t)
#
# assert 'https://github.com/tozny/terraform-provider-tozny' in s
# assert '0.14.0' in s