python-terrascript/tests/test_provider_hetznercloud_...

119 lines
4.1 KiB
Python

# tests/test_provider_hetznercloud_hcloud.py
# Automatically generated by tools/makecode.py (24-Sep-2021 15:18:06 UTC)
def test_provider_import():
import terrascript.provider.hetznercloud.hcloud
def test_resource_import():
from terrascript.resource.hetznercloud.hcloud import hcloud_certificate
from terrascript.resource.hetznercloud.hcloud import hcloud_firewall
from terrascript.resource.hetznercloud.hcloud import hcloud_floating_ip
from terrascript.resource.hetznercloud.hcloud import hcloud_floating_ip_assignment
from terrascript.resource.hetznercloud.hcloud import hcloud_load_balancer
from terrascript.resource.hetznercloud.hcloud import hcloud_load_balancer_network
from terrascript.resource.hetznercloud.hcloud import hcloud_load_balancer_service
from terrascript.resource.hetznercloud.hcloud import hcloud_load_balancer_target
from terrascript.resource.hetznercloud.hcloud import hcloud_managed_certificate
from terrascript.resource.hetznercloud.hcloud import hcloud_network
from terrascript.resource.hetznercloud.hcloud import hcloud_network_route
from terrascript.resource.hetznercloud.hcloud import hcloud_network_subnet
from terrascript.resource.hetznercloud.hcloud import hcloud_placement_group
from terrascript.resource.hetznercloud.hcloud import hcloud_rdns
from terrascript.resource.hetznercloud.hcloud import hcloud_server
from terrascript.resource.hetznercloud.hcloud import hcloud_server_network
from terrascript.resource.hetznercloud.hcloud import hcloud_snapshot
from terrascript.resource.hetznercloud.hcloud import hcloud_ssh_key
from terrascript.resource.hetznercloud.hcloud import hcloud_uploaded_certificate
from terrascript.resource.hetznercloud.hcloud import hcloud_volume
from terrascript.resource.hetznercloud.hcloud import hcloud_volume_attachment
def test_datasource_import():
from terrascript.data.hetznercloud.hcloud import hcloud_certificate
from terrascript.data.hetznercloud.hcloud import hcloud_certificates
from terrascript.data.hetznercloud.hcloud import hcloud_datacenter
from terrascript.data.hetznercloud.hcloud import hcloud_datacenters
from terrascript.data.hetznercloud.hcloud import hcloud_firewall
from terrascript.data.hetznercloud.hcloud import hcloud_firewalls
from terrascript.data.hetznercloud.hcloud import hcloud_floating_ip
from terrascript.data.hetznercloud.hcloud import hcloud_floating_ips
from terrascript.data.hetznercloud.hcloud import hcloud_image
from terrascript.data.hetznercloud.hcloud import hcloud_images
from terrascript.data.hetznercloud.hcloud import hcloud_load_balancer
from terrascript.data.hetznercloud.hcloud import hcloud_load_balancers
from terrascript.data.hetznercloud.hcloud import hcloud_location
from terrascript.data.hetznercloud.hcloud import hcloud_locations
from terrascript.data.hetznercloud.hcloud import hcloud_network
from terrascript.data.hetznercloud.hcloud import hcloud_networks
from terrascript.data.hetznercloud.hcloud import hcloud_placement_group
from terrascript.data.hetznercloud.hcloud import hcloud_placement_groups
from terrascript.data.hetznercloud.hcloud import hcloud_server
from terrascript.data.hetznercloud.hcloud import hcloud_server_type
from terrascript.data.hetznercloud.hcloud import hcloud_server_types
from terrascript.data.hetznercloud.hcloud import hcloud_servers
from terrascript.data.hetznercloud.hcloud import hcloud_ssh_key
from terrascript.data.hetznercloud.hcloud import hcloud_ssh_keys
from terrascript.data.hetznercloud.hcloud import hcloud_volume
from terrascript.data.hetznercloud.hcloud import hcloud_volumes
# 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.hetznercloud.hcloud
#
# t = terrascript.provider.hetznercloud.hcloud.hcloud()
# s = str(t)
#
# assert 'https://github.com/hetznercloud/terraform-provider-hcloud' in s
# assert '1.31.1' in s