43 lines
1.2 KiB
Python
43 lines
1.2 KiB
Python
# tests/test_provider_hashicorp_hcs.py
|
|
# Automatically generated by tools/makecode.py (24-Sep-2021 15:18:13 UTC)
|
|
|
|
|
|
def test_provider_import():
|
|
import terrascript.provider.hashicorp.hcs
|
|
|
|
|
|
def test_resource_import():
|
|
from terrascript.resource.hashicorp.hcs import hcs_cluster
|
|
|
|
from terrascript.resource.hashicorp.hcs import hcs_cluster_root_token
|
|
|
|
from terrascript.resource.hashicorp.hcs import hcs_snapshot
|
|
|
|
|
|
def test_datasource_import():
|
|
from terrascript.data.hashicorp.hcs import hcs_agent_helm_config
|
|
|
|
from terrascript.data.hashicorp.hcs import hcs_agent_kubernetes_secret
|
|
|
|
from terrascript.data.hashicorp.hcs import hcs_cluster
|
|
|
|
from terrascript.data.hashicorp.hcs import hcs_consul_versions
|
|
|
|
from terrascript.data.hashicorp.hcs import hcs_federation_token
|
|
|
|
from terrascript.data.hashicorp.hcs import hcs_plan_defaults
|
|
|
|
|
|
# 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.hcs
|
|
#
|
|
# t = terrascript.provider.hashicorp.hcs.hcs()
|
|
# s = str(t)
|
|
#
|
|
# assert 'https://github.com/hashicorp/terraform-provider-hcs' in s
|
|
# assert '0.5.0' in s
|