python-terrascript/tests/test_provider_hashicorp_azu...

85 lines
2.8 KiB
Python

# tests/test_provider_hashicorp_azuread.py
# Automatically generated by tools/makecode.py (24-Sep-2021 15:12:52 UTC)
def test_provider_import():
import terrascript.provider.hashicorp.azuread
def test_resource_import():
from terrascript.resource.hashicorp.azuread import azuread_app_role_assignment
from terrascript.resource.hashicorp.azuread import azuread_application
from terrascript.resource.hashicorp.azuread import azuread_application_certificate
from terrascript.resource.hashicorp.azuread import azuread_application_password
from terrascript.resource.hashicorp.azuread import (
azuread_application_pre_authorized,
)
from terrascript.resource.hashicorp.azuread import azuread_conditional_access_policy
from terrascript.resource.hashicorp.azuread import azuread_directory_role
from terrascript.resource.hashicorp.azuread import azuread_directory_role_member
from terrascript.resource.hashicorp.azuread import azuread_group
from terrascript.resource.hashicorp.azuread import azuread_group_member
from terrascript.resource.hashicorp.azuread import azuread_invitation
from terrascript.resource.hashicorp.azuread import azuread_named_location
from terrascript.resource.hashicorp.azuread import azuread_service_principal
from terrascript.resource.hashicorp.azuread import (
azuread_service_principal_certificate,
)
from terrascript.resource.hashicorp.azuread import (
azuread_service_principal_password,
)
from terrascript.resource.hashicorp.azuread import azuread_user
def test_datasource_import():
from terrascript.data.hashicorp.azuread import azuread_application
from terrascript.data.hashicorp.azuread import azuread_application_published_app_ids
from terrascript.data.hashicorp.azuread import azuread_application_template
from terrascript.data.hashicorp.azuread import azuread_client_config
from terrascript.data.hashicorp.azuread import azuread_domains
from terrascript.data.hashicorp.azuread import azuread_group
from terrascript.data.hashicorp.azuread import azuread_groups
from terrascript.data.hashicorp.azuread import azuread_service_principal
from terrascript.data.hashicorp.azuread import azuread_service_principals
from terrascript.data.hashicorp.azuread import azuread_user
from terrascript.data.hashicorp.azuread import azuread_users
# 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.hashicorp.azuread
#
# t = terrascript.provider.hashicorp.azuread.azuread()
# s = str(t)
#
# assert 'https://github.com/hashicorp/terraform-provider-azuread' in s
# assert '2.4.0' in s