python-terrascript/tests/test_provider_vmware_vra.py

163 lines
5.2 KiB
Python

# tests/test_provider_vmware_vra.py
# Automatically generated by tools/makecode.py (24-Sep-2021 15:30:45 UTC)
def test_provider_import():
import terrascript.provider.vmware.vra
def test_resource_import():
from terrascript.resource.vmware.vra import vra_block_device
from terrascript.resource.vmware.vra import vra_block_device_snapshot
from terrascript.resource.vmware.vra import vra_blueprint
from terrascript.resource.vmware.vra import vra_blueprint_version
from terrascript.resource.vmware.vra import vra_catalog_source_blueprint
from terrascript.resource.vmware.vra import vra_catalog_source_entitlement
from terrascript.resource.vmware.vra import vra_cloud_account_aws
from terrascript.resource.vmware.vra import vra_cloud_account_azure
from terrascript.resource.vmware.vra import vra_cloud_account_gcp
from terrascript.resource.vmware.vra import vra_cloud_account_nsxt
from terrascript.resource.vmware.vra import vra_cloud_account_nsxv
from terrascript.resource.vmware.vra import vra_cloud_account_vmc
from terrascript.resource.vmware.vra import vra_cloud_account_vsphere
from terrascript.resource.vmware.vra import vra_content_source
from terrascript.resource.vmware.vra import vra_deployment
from terrascript.resource.vmware.vra import vra_fabric_network_vsphere
from terrascript.resource.vmware.vra import vra_flavor_profile
from terrascript.resource.vmware.vra import vra_image_profile
from terrascript.resource.vmware.vra import vra_load_balancer
from terrascript.resource.vmware.vra import vra_machine
from terrascript.resource.vmware.vra import vra_network
from terrascript.resource.vmware.vra import vra_network_ip_range
from terrascript.resource.vmware.vra import vra_network_profile
from terrascript.resource.vmware.vra import vra_project
from terrascript.resource.vmware.vra import vra_storage_profile
from terrascript.resource.vmware.vra import vra_storage_profile_aws
from terrascript.resource.vmware.vra import vra_storage_profile_azure
from terrascript.resource.vmware.vra import vra_storage_profile_vsphere
from terrascript.resource.vmware.vra import vra_zone
def test_datasource_import():
from terrascript.data.vmware.vra import vra_block_device
from terrascript.data.vmware.vra import vra_block_device_snapshots
from terrascript.data.vmware.vra import vra_blueprint
from terrascript.data.vmware.vra import vra_blueprint_version
from terrascript.data.vmware.vra import vra_catalog_item
from terrascript.data.vmware.vra import vra_catalog_source_blueprint
from terrascript.data.vmware.vra import vra_catalog_source_entitlement
from terrascript.data.vmware.vra import vra_cloud_account_aws
from terrascript.data.vmware.vra import vra_cloud_account_azure
from terrascript.data.vmware.vra import vra_cloud_account_gcp
from terrascript.data.vmware.vra import vra_cloud_account_nsxt
from terrascript.data.vmware.vra import vra_cloud_account_nsxv
from terrascript.data.vmware.vra import vra_cloud_account_vmc
from terrascript.data.vmware.vra import vra_cloud_account_vsphere
from terrascript.data.vmware.vra import vra_data_collector
from terrascript.data.vmware.vra import vra_deployment
from terrascript.data.vmware.vra import vra_fabric_datastore_vsphere
from terrascript.data.vmware.vra import vra_fabric_network
from terrascript.data.vmware.vra import vra_fabric_storage_account_azure
from terrascript.data.vmware.vra import vra_fabric_storage_policy_vsphere
from terrascript.data.vmware.vra import vra_image
from terrascript.data.vmware.vra import vra_image_profile
from terrascript.data.vmware.vra import vra_machine
from terrascript.data.vmware.vra import vra_network
from terrascript.data.vmware.vra import vra_network_domain
from terrascript.data.vmware.vra import vra_network_profile
from terrascript.data.vmware.vra import vra_project
from terrascript.data.vmware.vra import vra_region
from terrascript.data.vmware.vra import vra_region_enumeration
from terrascript.data.vmware.vra import vra_region_enumeration_aws
from terrascript.data.vmware.vra import vra_region_enumeration_azure
from terrascript.data.vmware.vra import vra_region_enumeration_gcp
from terrascript.data.vmware.vra import vra_region_enumeration_vmc
from terrascript.data.vmware.vra import vra_region_enumeration_vsphere
from terrascript.data.vmware.vra import vra_security_group
from terrascript.data.vmware.vra import vra_storage_profile
from terrascript.data.vmware.vra import vra_storage_profile_aws
from terrascript.data.vmware.vra import vra_storage_profile_azure
from terrascript.data.vmware.vra import vra_storage_profile_vsphere
from terrascript.data.vmware.vra import vra_zone
# 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.vra
#
# t = terrascript.provider.vmware.vra.vra()
# s = str(t)
#
# assert 'https://github.com/vmware/terraform-provider-vra' in s
# assert '0.3.11' in s