79 lines
2.6 KiB
Python
79 lines
2.6 KiB
Python
# tests/test_provider_exoscale_exoscale.py
|
|
# Automatically generated by tools/makecode.py (24-Sep-2021 15:16:07 UTC)
|
|
|
|
|
|
def test_provider_import():
|
|
import terrascript.provider.exoscale.exoscale
|
|
|
|
|
|
def test_resource_import():
|
|
from terrascript.resource.exoscale.exoscale import exoscale_affinity
|
|
|
|
from terrascript.resource.exoscale.exoscale import exoscale_compute
|
|
|
|
from terrascript.resource.exoscale.exoscale import exoscale_database
|
|
|
|
from terrascript.resource.exoscale.exoscale import exoscale_domain
|
|
|
|
from terrascript.resource.exoscale.exoscale import exoscale_domain_record
|
|
|
|
from terrascript.resource.exoscale.exoscale import exoscale_instance_pool
|
|
|
|
from terrascript.resource.exoscale.exoscale import exoscale_ipaddress
|
|
|
|
from terrascript.resource.exoscale.exoscale import exoscale_network
|
|
|
|
from terrascript.resource.exoscale.exoscale import exoscale_nic
|
|
|
|
from terrascript.resource.exoscale.exoscale import exoscale_nlb
|
|
|
|
from terrascript.resource.exoscale.exoscale import exoscale_nlb_service
|
|
|
|
from terrascript.resource.exoscale.exoscale import exoscale_secondary_ipaddress
|
|
|
|
from terrascript.resource.exoscale.exoscale import exoscale_security_group
|
|
|
|
from terrascript.resource.exoscale.exoscale import exoscale_security_group_rule
|
|
|
|
from terrascript.resource.exoscale.exoscale import exoscale_security_group_rules
|
|
|
|
from terrascript.resource.exoscale.exoscale import exoscale_sks_cluster
|
|
|
|
from terrascript.resource.exoscale.exoscale import exoscale_sks_nodepool
|
|
|
|
from terrascript.resource.exoscale.exoscale import exoscale_ssh_keypair
|
|
|
|
|
|
def test_datasource_import():
|
|
from terrascript.data.exoscale.exoscale import exoscale_affinity
|
|
|
|
from terrascript.data.exoscale.exoscale import exoscale_compute
|
|
|
|
from terrascript.data.exoscale.exoscale import exoscale_compute_ipaddress
|
|
|
|
from terrascript.data.exoscale.exoscale import exoscale_compute_template
|
|
|
|
from terrascript.data.exoscale.exoscale import exoscale_domain
|
|
|
|
from terrascript.data.exoscale.exoscale import exoscale_domain_record
|
|
|
|
from terrascript.data.exoscale.exoscale import exoscale_network
|
|
|
|
from terrascript.data.exoscale.exoscale import exoscale_nlb
|
|
|
|
from terrascript.data.exoscale.exoscale import exoscale_security_group
|
|
|
|
|
|
# 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.exoscale.exoscale
|
|
#
|
|
# t = terrascript.provider.exoscale.exoscale.exoscale()
|
|
# s = str(t)
|
|
#
|
|
# assert 'https://github.com/exoscale/terraform-provider-exoscale' in s
|
|
# assert '0.29.0' in s
|