python-terrascript/tests/test_provider_invidian_ovh.py

145 lines
5.0 KiB
Python

# tests/test_provider_invidian_ovh.py
# Automatically generated by tools/makecode.py (24-Sep-2021 15:24:14 UTC)
def test_provider_import():
import terrascript.provider.invidian.ovh
def test_resource_import():
from terrascript.resource.invidian.ovh import ovh_cloud_network_private
from terrascript.resource.invidian.ovh import ovh_cloud_network_private_subnet
from terrascript.resource.invidian.ovh import ovh_cloud_user
from terrascript.resource.invidian.ovh import ovh_dedicated_ceph_acl
from terrascript.resource.invidian.ovh import ovh_dedicated_server_install_task
from terrascript.resource.invidian.ovh import ovh_dedicated_server_reboot_task
from terrascript.resource.invidian.ovh import ovh_dedicated_server_update
from terrascript.resource.invidian.ovh import ovh_domain_zone_record
from terrascript.resource.invidian.ovh import ovh_domain_zone_redirection
from terrascript.resource.invidian.ovh import ovh_ip_reverse
from terrascript.resource.invidian.ovh import ovh_iploadbalancing_http_farm
from terrascript.resource.invidian.ovh import ovh_iploadbalancing_http_farm_server
from terrascript.resource.invidian.ovh import ovh_iploadbalancing_http_frontend
from terrascript.resource.invidian.ovh import ovh_iploadbalancing_http_route
from terrascript.resource.invidian.ovh import ovh_iploadbalancing_http_route_rule
from terrascript.resource.invidian.ovh import ovh_iploadbalancing_refresh
from terrascript.resource.invidian.ovh import ovh_iploadbalancing_tcp_farm
from terrascript.resource.invidian.ovh import ovh_iploadbalancing_tcp_farm_server
from terrascript.resource.invidian.ovh import ovh_iploadbalancing_tcp_frontend
from terrascript.resource.invidian.ovh import ovh_iploadbalancing_vrack_network
from terrascript.resource.invidian.ovh import ovh_me_installation_template
from terrascript.resource.invidian.ovh import (
ovh_me_installation_template_partition_scheme,
)
from terrascript.resource.invidian.ovh import (
ovh_me_installation_template_partition_scheme_hardware_raid,
)
from terrascript.resource.invidian.ovh import (
ovh_me_installation_template_partition_scheme_partition,
)
from terrascript.resource.invidian.ovh import ovh_me_ipxe_script
from terrascript.resource.invidian.ovh import ovh_me_ssh_key
from terrascript.resource.invidian.ovh import ovh_publiccloud_private_network
from terrascript.resource.invidian.ovh import ovh_publiccloud_private_network_subnet
from terrascript.resource.invidian.ovh import ovh_publiccloud_user
from terrascript.resource.invidian.ovh import ovh_vrack_cloudproject
from terrascript.resource.invidian.ovh import ovh_vrack_dedicated_server
from terrascript.resource.invidian.ovh import ovh_vrack_dedicated_server_interface
from terrascript.resource.invidian.ovh import ovh_vrack_iploadbalancing
from terrascript.resource.invidian.ovh import ovh_vrack_publiccloud_attachment
def test_datasource_import():
from terrascript.data.invidian.ovh import ovh_cloud_region
from terrascript.data.invidian.ovh import ovh_cloud_regions
from terrascript.data.invidian.ovh import ovh_dedicated_ceph
from terrascript.data.invidian.ovh import ovh_dedicated_installation_templates
from terrascript.data.invidian.ovh import ovh_dedicated_server
from terrascript.data.invidian.ovh import ovh_dedicated_server_boots
from terrascript.data.invidian.ovh import ovh_dedicated_servers
from terrascript.data.invidian.ovh import ovh_domain_zone
from terrascript.data.invidian.ovh import ovh_iploadbalancing
from terrascript.data.invidian.ovh import ovh_iploadbalancing_vrack_network
from terrascript.data.invidian.ovh import ovh_iploadbalancing_vrack_networks
from terrascript.data.invidian.ovh import ovh_me_installation_template
from terrascript.data.invidian.ovh import ovh_me_installation_templates
from terrascript.data.invidian.ovh import ovh_me_ipxe_script
from terrascript.data.invidian.ovh import ovh_me_ipxe_scripts
from terrascript.data.invidian.ovh import ovh_me_paymentmean_bankaccount
from terrascript.data.invidian.ovh import ovh_me_paymentmean_creditcard
from terrascript.data.invidian.ovh import ovh_me_ssh_key
from terrascript.data.invidian.ovh import ovh_me_ssh_keys
from terrascript.data.invidian.ovh import ovh_publiccloud_region
from terrascript.data.invidian.ovh import ovh_publiccloud_regions
from terrascript.data.invidian.ovh import ovh_vps
from terrascript.data.invidian.ovh import ovh_vracks
# 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.invidian.ovh
#
# t = terrascript.provider.invidian.ovh.ovh()
# s = str(t)
#
# assert 'https://github.com/invidian/terraform-provider-ovh' in s
# assert '0.9.3' in s