python-terrascript/tests/test_provider_someara_dns.py

59 lines
1.7 KiB
Python

# tests/test_provider_someara_dns.py
# Automatically generated by tools/makecode.py (24-Sep-2021 15:15:24 UTC)
def test_provider_import():
import terrascript.provider.someara.dns
def test_resource_import():
from terrascript.resource.someara.dns import dns_a_record_set
from terrascript.resource.someara.dns import dns_aaaa_record_set
from terrascript.resource.someara.dns import dns_cname_record
from terrascript.resource.someara.dns import dns_mx_record_set
from terrascript.resource.someara.dns import dns_ns_record_set
from terrascript.resource.someara.dns import dns_ptr_record
from terrascript.resource.someara.dns import dns_srv_record_set
from terrascript.resource.someara.dns import dns_sshfp_record_set
from terrascript.resource.someara.dns import dns_txt_record_set
def test_datasource_import():
from terrascript.data.someara.dns import dns_a_record_set
from terrascript.data.someara.dns import dns_aaaa_record_set
from terrascript.data.someara.dns import dns_cname_record_set
from terrascript.data.someara.dns import dns_mx_record_set
from terrascript.data.someara.dns import dns_ns_record_set
from terrascript.data.someara.dns import dns_ptr_record_set
from terrascript.data.someara.dns import dns_srv_record_set
from terrascript.data.someara.dns import dns_txt_record_set
# 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.someara.dns
#
# t = terrascript.provider.someara.dns.dns()
# s = str(t)
#
# assert 'https://github.com/someara/terraform-provider-dns' in s
# assert '2.3.0-pre' in s