93 lines
2.9 KiB
Python
93 lines
2.9 KiB
Python
# tests/test_provider_hashicorp_tfe.py
|
|
# Automatically generated by tools/makecode.py (24-Sep-2021 15:28:36 UTC)
|
|
|
|
|
|
def test_provider_import():
|
|
import terrascript.provider.hashicorp.tfe
|
|
|
|
|
|
def test_resource_import():
|
|
from terrascript.resource.hashicorp.tfe import tfe_agent_pool
|
|
|
|
from terrascript.resource.hashicorp.tfe import tfe_agent_token
|
|
|
|
from terrascript.resource.hashicorp.tfe import tfe_notification_configuration
|
|
|
|
from terrascript.resource.hashicorp.tfe import tfe_oauth_client
|
|
|
|
from terrascript.resource.hashicorp.tfe import tfe_organization
|
|
|
|
from terrascript.resource.hashicorp.tfe import tfe_organization_membership
|
|
|
|
from terrascript.resource.hashicorp.tfe import tfe_organization_token
|
|
|
|
from terrascript.resource.hashicorp.tfe import tfe_policy_set
|
|
|
|
from terrascript.resource.hashicorp.tfe import tfe_policy_set_parameter
|
|
|
|
from terrascript.resource.hashicorp.tfe import tfe_registry_module
|
|
|
|
from terrascript.resource.hashicorp.tfe import tfe_run_trigger
|
|
|
|
from terrascript.resource.hashicorp.tfe import tfe_sentinel_policy
|
|
|
|
from terrascript.resource.hashicorp.tfe import tfe_ssh_key
|
|
|
|
from terrascript.resource.hashicorp.tfe import tfe_team
|
|
|
|
from terrascript.resource.hashicorp.tfe import tfe_team_access
|
|
|
|
from terrascript.resource.hashicorp.tfe import tfe_team_member
|
|
|
|
from terrascript.resource.hashicorp.tfe import tfe_team_members
|
|
|
|
from terrascript.resource.hashicorp.tfe import tfe_team_organization_member
|
|
|
|
from terrascript.resource.hashicorp.tfe import tfe_team_token
|
|
|
|
from terrascript.resource.hashicorp.tfe import tfe_variable
|
|
|
|
from terrascript.resource.hashicorp.tfe import tfe_workspace
|
|
|
|
|
|
def test_datasource_import():
|
|
from terrascript.data.hashicorp.tfe import tfe_agent_pool
|
|
|
|
from terrascript.data.hashicorp.tfe import tfe_ip_ranges
|
|
|
|
from terrascript.data.hashicorp.tfe import tfe_oauth_client
|
|
|
|
from terrascript.data.hashicorp.tfe import tfe_organization
|
|
|
|
from terrascript.data.hashicorp.tfe import tfe_organization_membership
|
|
|
|
from terrascript.data.hashicorp.tfe import tfe_organizations
|
|
|
|
from terrascript.data.hashicorp.tfe import tfe_outputs
|
|
|
|
from terrascript.data.hashicorp.tfe import tfe_slug
|
|
|
|
from terrascript.data.hashicorp.tfe import tfe_ssh_key
|
|
|
|
from terrascript.data.hashicorp.tfe import tfe_team
|
|
|
|
from terrascript.data.hashicorp.tfe import tfe_team_access
|
|
|
|
from terrascript.data.hashicorp.tfe import tfe_workspace
|
|
|
|
from terrascript.data.hashicorp.tfe import tfe_workspace_ids
|
|
|
|
|
|
# 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.tfe
|
|
#
|
|
# t = terrascript.provider.hashicorp.tfe.tfe()
|
|
# s = str(t)
|
|
#
|
|
# assert 'https://github.com/hashicorp/terraform-provider-tfe' in s
|
|
# assert '0.26.1' in s
|