37 lines
1.0 KiB
Python
37 lines
1.0 KiB
Python
# tests/test_provider_invidian_tls.py
|
|
# Automatically generated by tools/makecode.py (24-Sep-2021 15:28:50 UTC)
|
|
|
|
|
|
def test_provider_import():
|
|
import terrascript.provider.invidian.tls
|
|
|
|
|
|
def test_resource_import():
|
|
from terrascript.resource.invidian.tls import tls_cert_request
|
|
|
|
from terrascript.resource.invidian.tls import tls_locally_signed_cert
|
|
|
|
from terrascript.resource.invidian.tls import tls_private_key
|
|
|
|
from terrascript.resource.invidian.tls import tls_self_signed_cert
|
|
|
|
|
|
def test_datasource_import():
|
|
from terrascript.data.invidian.tls import tls_certificate
|
|
|
|
from terrascript.data.invidian.tls import tls_public_key
|
|
|
|
|
|
# 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.invidian.tls
|
|
#
|
|
# t = terrascript.provider.invidian.tls.tls()
|
|
# s = str(t)
|
|
#
|
|
# assert 'https://github.com/invidian/terraform-provider-tls' in s
|
|
# assert '2.2.1' in s
|