python-terrascript/tests/test_provider_vultr_vultr.py

115 lines
3.5 KiB
Python

# tests/test_provider_vultr_vultr.py
# Automatically generated by tools/makecode.py (24-Sep-2021 15:31:06 UTC)
def test_provider_import():
import terrascript.provider.vultr.vultr
def test_resource_import():
from terrascript.resource.vultr.vultr import vultr_bare_metal_server
from terrascript.resource.vultr.vultr import vultr_block_storage
from terrascript.resource.vultr.vultr import vultr_dns_domain
from terrascript.resource.vultr.vultr import vultr_dns_record
from terrascript.resource.vultr.vultr import vultr_firewall_group
from terrascript.resource.vultr.vultr import vultr_firewall_rule
from terrascript.resource.vultr.vultr import vultr_instance
from terrascript.resource.vultr.vultr import vultr_instance_ipv4
from terrascript.resource.vultr.vultr import vultr_iso_private
from terrascript.resource.vultr.vultr import vultr_load_balancer
from terrascript.resource.vultr.vultr import vultr_object_storage
from terrascript.resource.vultr.vultr import vultr_private_network
from terrascript.resource.vultr.vultr import vultr_reserved_ip
from terrascript.resource.vultr.vultr import vultr_reverse_ipv4
from terrascript.resource.vultr.vultr import vultr_reverse_ipv6
from terrascript.resource.vultr.vultr import vultr_snapshot
from terrascript.resource.vultr.vultr import vultr_snapshot_from_url
from terrascript.resource.vultr.vultr import vultr_ssh_key
from terrascript.resource.vultr.vultr import vultr_startup_script
from terrascript.resource.vultr.vultr import vultr_user
def test_datasource_import():
from terrascript.data.vultr.vultr import vultr_account
from terrascript.data.vultr.vultr import vultr_application
from terrascript.data.vultr.vultr import vultr_backup
from terrascript.data.vultr.vultr import vultr_bare_metal_plan
from terrascript.data.vultr.vultr import vultr_bare_metal_server
from terrascript.data.vultr.vultr import vultr_block_storage
from terrascript.data.vultr.vultr import vultr_dns_domain
from terrascript.data.vultr.vultr import vultr_firewall_group
from terrascript.data.vultr.vultr import vultr_instance
from terrascript.data.vultr.vultr import vultr_instance_ipv4
from terrascript.data.vultr.vultr import vultr_iso_private
from terrascript.data.vultr.vultr import vultr_iso_public
from terrascript.data.vultr.vultr import vultr_load_balancer
from terrascript.data.vultr.vultr import vultr_object_storage
from terrascript.data.vultr.vultr import vultr_os
from terrascript.data.vultr.vultr import vultr_plan
from terrascript.data.vultr.vultr import vultr_private_network
from terrascript.data.vultr.vultr import vultr_region
from terrascript.data.vultr.vultr import vultr_reserved_ip
from terrascript.data.vultr.vultr import vultr_reverse_ipv4
from terrascript.data.vultr.vultr import vultr_reverse_ipv6
from terrascript.data.vultr.vultr import vultr_snapshot
from terrascript.data.vultr.vultr import vultr_ssh_key
from terrascript.data.vultr.vultr import vultr_startup_script
from terrascript.data.vultr.vultr import vultr_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.vultr.vultr
#
# t = terrascript.provider.vultr.vultr.vultr()
# s = str(t)
#
# assert 'https://github.com/vultr/terraform-provider-vultr' in s
# assert '2.4.2' in s