python-terrascript/tests/test_provider_heroku_heroku.py

97 lines
3.1 KiB
Python

# tests/test_provider_heroku_heroku.py
# Automatically generated by tools/makecode.py (24-Sep-2021 15:18:37 UTC)
def test_provider_import():
import terrascript.provider.heroku.heroku
def test_resource_import():
from terrascript.resource.heroku.heroku import heroku_account_feature
from terrascript.resource.heroku.heroku import heroku_addon
from terrascript.resource.heroku.heroku import heroku_addon_attachment
from terrascript.resource.heroku.heroku import heroku_app
from terrascript.resource.heroku.heroku import heroku_app_config_association
from terrascript.resource.heroku.heroku import heroku_app_feature
from terrascript.resource.heroku.heroku import heroku_app_release
from terrascript.resource.heroku.heroku import heroku_app_webhook
from terrascript.resource.heroku.heroku import heroku_build
from terrascript.resource.heroku.heroku import heroku_cert
from terrascript.resource.heroku.heroku import heroku_collaborator
from terrascript.resource.heroku.heroku import heroku_config
from terrascript.resource.heroku.heroku import heroku_domain
from terrascript.resource.heroku.heroku import heroku_drain
from terrascript.resource.heroku.heroku import heroku_formation
from terrascript.resource.heroku.heroku import heroku_pipeline
from terrascript.resource.heroku.heroku import heroku_pipeline_config_var
from terrascript.resource.heroku.heroku import heroku_pipeline_coupling
from terrascript.resource.heroku.heroku import heroku_review_app_config
from terrascript.resource.heroku.heroku import heroku_slug
from terrascript.resource.heroku.heroku import heroku_space
from terrascript.resource.heroku.heroku import heroku_space_app_access
from terrascript.resource.heroku.heroku import heroku_space_inbound_ruleset
from terrascript.resource.heroku.heroku import (
heroku_space_peering_connection_accepter,
)
from terrascript.resource.heroku.heroku import heroku_space_vpn_connection
from terrascript.resource.heroku.heroku import heroku_ssl
from terrascript.resource.heroku.heroku import heroku_team_collaborator
from terrascript.resource.heroku.heroku import heroku_team_member
def test_datasource_import():
from terrascript.data.heroku.heroku import heroku_addon
from terrascript.data.heroku.heroku import heroku_app
from terrascript.data.heroku.heroku import heroku_pipeline
from terrascript.data.heroku.heroku import heroku_space
from terrascript.data.heroku.heroku import heroku_space_peering_info
from terrascript.data.heroku.heroku import heroku_team
from terrascript.data.heroku.heroku import heroku_team_members
# 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.heroku.heroku
#
# t = terrascript.provider.heroku.heroku.heroku()
# s = str(t)
#
# assert 'https://github.com/heroku/terraform-provider-heroku' in s
# assert '4.6.0' in s