python-terrascript/tests/test_provider_hashicorp_goo...

87 lines
2.8 KiB
Python

# tests/test_provider_hashicorp_googleworkspace.py
# Automatically generated by tools/makecode.py (24-Sep-2021 15:17:22 UTC)
def test_provider_import():
import terrascript.provider.hashicorp.googleworkspace
def test_resource_import():
from terrascript.resource.hashicorp.googleworkspace import (
googleworkspace_chrome_policy,
)
from terrascript.resource.hashicorp.googleworkspace import googleworkspace_domain
from terrascript.resource.hashicorp.googleworkspace import (
googleworkspace_domain_alias,
)
from terrascript.resource.hashicorp.googleworkspace import (
googleworkspace_gmail_send_as_alias,
)
from terrascript.resource.hashicorp.googleworkspace import googleworkspace_group
from terrascript.resource.hashicorp.googleworkspace import (
googleworkspace_group_member,
)
from terrascript.resource.hashicorp.googleworkspace import (
googleworkspace_group_settings,
)
from terrascript.resource.hashicorp.googleworkspace import googleworkspace_org_unit
from terrascript.resource.hashicorp.googleworkspace import googleworkspace_role
from terrascript.resource.hashicorp.googleworkspace import (
googleworkspace_role_assignment,
)
from terrascript.resource.hashicorp.googleworkspace import googleworkspace_schema
from terrascript.resource.hashicorp.googleworkspace import googleworkspace_user
def test_datasource_import():
from terrascript.data.hashicorp.googleworkspace import (
googleworkspace_chrome_policy_schema,
)
from terrascript.data.hashicorp.googleworkspace import googleworkspace_domain
from terrascript.data.hashicorp.googleworkspace import googleworkspace_domain_alias
from terrascript.data.hashicorp.googleworkspace import googleworkspace_group
from terrascript.data.hashicorp.googleworkspace import googleworkspace_group_member
from terrascript.data.hashicorp.googleworkspace import (
googleworkspace_group_settings,
)
from terrascript.data.hashicorp.googleworkspace import googleworkspace_org_unit
from terrascript.data.hashicorp.googleworkspace import googleworkspace_privileges
from terrascript.data.hashicorp.googleworkspace import googleworkspace_role
from terrascript.data.hashicorp.googleworkspace import googleworkspace_schema
from terrascript.data.hashicorp.googleworkspace import googleworkspace_user
# 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.googleworkspace
#
# t = terrascript.provider.hashicorp.googleworkspace.googleworkspace()
# s = str(t)
#
# assert 'https://github.com/hashicorp/terraform-provider-googleworkspace' in s
# assert '0.4.1' in s