73 lines
2.5 KiB
Python
73 lines
2.5 KiB
Python
# tests/test_provider_selectel_selectel.py
|
|
# Automatically generated by tools/makecode.py (24-Sep-2021 15:26:31 UTC)
|
|
|
|
|
|
def test_provider_import():
|
|
import terrascript.provider.selectel.selectel
|
|
|
|
|
|
def test_resource_import():
|
|
from terrascript.resource.selectel.selectel import selectel_dbaas_database_v1
|
|
|
|
from terrascript.resource.selectel.selectel import selectel_dbaas_datastore_v1
|
|
|
|
from terrascript.resource.selectel.selectel import selectel_dbaas_extension_v1
|
|
|
|
from terrascript.resource.selectel.selectel import selectel_dbaas_grant_v1
|
|
|
|
from terrascript.resource.selectel.selectel import selectel_dbaas_user_v1
|
|
|
|
from terrascript.resource.selectel.selectel import selectel_domains_domain_v1
|
|
|
|
from terrascript.resource.selectel.selectel import selectel_domains_record_v1
|
|
|
|
from terrascript.resource.selectel.selectel import selectel_mks_cluster_v1
|
|
|
|
from terrascript.resource.selectel.selectel import selectel_mks_nodegroup_v1
|
|
|
|
from terrascript.resource.selectel.selectel import (
|
|
selectel_vpc_crossregion_subnet_v2,
|
|
)
|
|
|
|
from terrascript.resource.selectel.selectel import selectel_vpc_floatingip_v2
|
|
|
|
from terrascript.resource.selectel.selectel import selectel_vpc_keypair_v2
|
|
|
|
from terrascript.resource.selectel.selectel import selectel_vpc_license_v2
|
|
|
|
from terrascript.resource.selectel.selectel import selectel_vpc_project_v2
|
|
|
|
from terrascript.resource.selectel.selectel import selectel_vpc_role_v2
|
|
|
|
from terrascript.resource.selectel.selectel import selectel_vpc_subnet_v2
|
|
|
|
from terrascript.resource.selectel.selectel import selectel_vpc_token_v2
|
|
|
|
from terrascript.resource.selectel.selectel import selectel_vpc_user_v2
|
|
|
|
from terrascript.resource.selectel.selectel import selectel_vpc_vrrp_subnet_v2
|
|
|
|
|
|
def test_datasource_import():
|
|
from terrascript.data.selectel.selectel import selectel_dbaas_available_extension_v1
|
|
|
|
from terrascript.data.selectel.selectel import selectel_dbaas_datastore_type_v1
|
|
|
|
from terrascript.data.selectel.selectel import selectel_dbaas_flavor_v1
|
|
|
|
from terrascript.data.selectel.selectel import selectel_domains_domain_v1
|
|
|
|
|
|
# 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.selectel.selectel
|
|
#
|
|
# t = terrascript.provider.selectel.selectel.selectel()
|
|
# s = str(t)
|
|
#
|
|
# assert 'https://github.com/selectel/terraform-provider-selectel' in s
|
|
# assert '3.6.2' in s
|