python-terrascript/tests/test_provider_hashicorp_bou...

59 lines
1.9 KiB
Python

# tests/test_provider_hashicorp_boundary.py
# Automatically generated by tools/makecode.py (24-Sep-2021 15:13:38 UTC)
def test_provider_import():
import terrascript.provider.hashicorp.boundary
def test_resource_import():
from terrascript.resource.hashicorp.boundary import boundary_account
from terrascript.resource.hashicorp.boundary import boundary_account_oidc
from terrascript.resource.hashicorp.boundary import boundary_account_password
from terrascript.resource.hashicorp.boundary import boundary_auth_method
from terrascript.resource.hashicorp.boundary import boundary_auth_method_oidc
from terrascript.resource.hashicorp.boundary import boundary_auth_method_password
from terrascript.resource.hashicorp.boundary import (
boundary_credential_library_vault,
)
from terrascript.resource.hashicorp.boundary import boundary_credential_store_vault
from terrascript.resource.hashicorp.boundary import boundary_group
from terrascript.resource.hashicorp.boundary import boundary_host
from terrascript.resource.hashicorp.boundary import boundary_host_catalog
from terrascript.resource.hashicorp.boundary import boundary_host_set
from terrascript.resource.hashicorp.boundary import boundary_managed_group
from terrascript.resource.hashicorp.boundary import boundary_role
from terrascript.resource.hashicorp.boundary import boundary_scope
from terrascript.resource.hashicorp.boundary import boundary_target
from terrascript.resource.hashicorp.boundary import boundary_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.boundary
#
# t = terrascript.provider.hashicorp.boundary.boundary()
# s = str(t)
#
# assert 'https://github.com/hashicorp/terraform-provider-boundary' in s
# assert '1.0.5' in s