python-terrascript/tests/test_provider_vmware_vmc.py

43 lines
1.2 KiB
Python

# tests/test_provider_vmware_vmc.py
# Automatically generated by tools/makecode.py (24-Sep-2021 15:30:35 UTC)
def test_provider_import():
import terrascript.provider.vmware.vmc
def test_resource_import():
from terrascript.resource.vmware.vmc import vmc_cluster
from terrascript.resource.vmware.vmc import vmc_public_ip
from terrascript.resource.vmware.vmc import vmc_sddc
from terrascript.resource.vmware.vmc import vmc_site_recovery
from terrascript.resource.vmware.vmc import vmc_srm_node
def test_datasource_import():
from terrascript.data.vmware.vmc import vmc_connected_accounts
from terrascript.data.vmware.vmc import vmc_customer_subnets
from terrascript.data.vmware.vmc import vmc_org
from terrascript.data.vmware.vmc import vmc_sddc
# 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.vmware.vmc
#
# t = terrascript.provider.vmware.vmc.vmc()
# s = str(t)
#
# assert 'https://github.com/vmware/terraform-provider-vmc' in s
# assert '1.7.0' in s