python-terrascript/tests/test_provider_hashicorp_ora...

53 lines
1.5 KiB
Python

# tests/test_provider_hashicorp_oraclepaas.py
# Automatically generated by tools/makecode.py (24-Sep-2021 15:24:00 UTC)
def test_provider_import():
import terrascript.provider.hashicorp.oraclepaas
def test_resource_import():
from terrascript.resource.hashicorp.oraclepaas import (
oraclepaas_application_container,
)
from terrascript.resource.hashicorp.oraclepaas import (
oraclepaas_database_access_rule,
)
from terrascript.resource.hashicorp.oraclepaas import (
oraclepaas_database_service_instance,
)
from terrascript.resource.hashicorp.oraclepaas import oraclepaas_java_access_rule
from terrascript.resource.hashicorp.oraclepaas import (
oraclepaas_java_service_instance,
)
from terrascript.resource.hashicorp.oraclepaas import oraclepaas_mysql_access_rule
from terrascript.resource.hashicorp.oraclepaas import (
oraclepaas_mysql_service_instance,
)
def test_datasource_import():
from terrascript.data.hashicorp.oraclepaas import (
oraclepaas_database_service_instance,
)
# 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.hashicorp.oraclepaas
#
# t = terrascript.provider.hashicorp.oraclepaas.oraclepaas()
# s = str(t)
#
# assert 'https://github.com/terraform-providers/terraform-provider-oraclepaas' in s
# assert '1.5.3' in s