python-terrascript/tests/test_provider_davidji99_her...

107 lines
3.6 KiB
Python

# tests/test_provider_davidji99_herokux.py
# Automatically generated by tools/makecode.py (24-Sep-2021 15:18:42 UTC)
def test_provider_import():
import terrascript.provider.davidji99.herokux
def test_resource_import():
from terrascript.resource.davidji99.herokux import herokux_app_container_release
from terrascript.resource.davidji99.herokux import herokux_app_github_integration
from terrascript.resource.davidji99.herokux import herokux_app_webhook
from terrascript.resource.davidji99.herokux import herokux_connect_mappings
from terrascript.resource.davidji99.herokux import herokux_data_connector
from terrascript.resource.davidji99.herokux import herokux_formation_alert
from terrascript.resource.davidji99.herokux import herokux_formation_autoscaling
from terrascript.resource.davidji99.herokux import herokux_kafka_consumer_group
from terrascript.resource.davidji99.herokux import herokux_kafka_mtls_iprule
from terrascript.resource.davidji99.herokux import herokux_kafka_topic
from terrascript.resource.davidji99.herokux import herokux_oauth_authorization
from terrascript.resource.davidji99.herokux import (
herokux_pipeline_ephemeral_apps_config,
)
from terrascript.resource.davidji99.herokux import (
herokux_pipeline_github_integration,
)
from terrascript.resource.davidji99.herokux import herokux_pipeline_member
from terrascript.resource.davidji99.herokux import herokux_postgres_backup_schedule
from terrascript.resource.davidji99.herokux import (
herokux_postgres_connection_pooling,
)
from terrascript.resource.davidji99.herokux import herokux_postgres_credential
from terrascript.resource.davidji99.herokux import herokux_postgres_data_link
from terrascript.resource.davidji99.herokux import herokux_postgres_dataclip
from terrascript.resource.davidji99.herokux import (
herokux_postgres_dataclip_team_association,
)
from terrascript.resource.davidji99.herokux import (
herokux_postgres_dataclip_user_association,
)
from terrascript.resource.davidji99.herokux import (
herokux_postgres_maintenance_window,
)
from terrascript.resource.davidji99.herokux import herokux_postgres_mtls
from terrascript.resource.davidji99.herokux import herokux_postgres_mtls_certificate
from terrascript.resource.davidji99.herokux import herokux_postgres_mtls_iprule
from terrascript.resource.davidji99.herokux import herokux_postgres_settings
from terrascript.resource.davidji99.herokux import herokux_privatelink
from terrascript.resource.davidji99.herokux import herokux_redis_config
from terrascript.resource.davidji99.herokux import herokux_redis_maintenance_window
from terrascript.resource.davidji99.herokux import herokux_scheduler_job
from terrascript.resource.davidji99.herokux import herokux_shield_private_space
def test_datasource_import():
from terrascript.data.davidji99.herokux import herokux_addons
from terrascript.data.davidji99.herokux import herokux_kafka_mtls_iprules
from terrascript.data.davidji99.herokux import herokux_postgres_mtls_certificate
from terrascript.data.davidji99.herokux import herokux_registry_image
# 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.davidji99.herokux
#
# t = terrascript.provider.davidji99.herokux.herokux()
# s = str(t)
#
# assert 'https://github.com/davidji99/terraform-provider-herokux' in s
# assert '0.30.3' in s