python-terrascript/tests/test_provider_launchdarkly_...

63 lines
2.2 KiB
Python

# tests/test_provider_launchdarkly_launchdarkly.py
# Automatically generated by tools/makecode.py (24-Sep-2021 15:20:56 UTC)
def test_provider_import():
import terrascript.provider.launchdarkly.launchdarkly
def test_resource_import():
from terrascript.resource.launchdarkly.launchdarkly import launchdarkly_access_token
from terrascript.resource.launchdarkly.launchdarkly import launchdarkly_custom_role
from terrascript.resource.launchdarkly.launchdarkly import launchdarkly_destination
from terrascript.resource.launchdarkly.launchdarkly import launchdarkly_environment
from terrascript.resource.launchdarkly.launchdarkly import launchdarkly_feature_flag
from terrascript.resource.launchdarkly.launchdarkly import (
launchdarkly_feature_flag_environment,
)
from terrascript.resource.launchdarkly.launchdarkly import launchdarkly_project
from terrascript.resource.launchdarkly.launchdarkly import launchdarkly_segment
from terrascript.resource.launchdarkly.launchdarkly import launchdarkly_team_member
from terrascript.resource.launchdarkly.launchdarkly import launchdarkly_webhook
def test_datasource_import():
from terrascript.data.launchdarkly.launchdarkly import launchdarkly_environment
from terrascript.data.launchdarkly.launchdarkly import launchdarkly_feature_flag
from terrascript.data.launchdarkly.launchdarkly import (
launchdarkly_feature_flag_environment,
)
from terrascript.data.launchdarkly.launchdarkly import launchdarkly_project
from terrascript.data.launchdarkly.launchdarkly import launchdarkly_segment
from terrascript.data.launchdarkly.launchdarkly import launchdarkly_team_member
from terrascript.data.launchdarkly.launchdarkly import launchdarkly_webhook
# 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.launchdarkly.launchdarkly
#
# t = terrascript.provider.launchdarkly.launchdarkly.launchdarkly()
# s = str(t)
#
# assert 'https://github.com/launchdarkly/terraform-provider-launchdarkly' in s
# assert '2.0.1' in s