python-terrascript/tests/test_provider_vmware_wavefr...

87 lines
2.8 KiB
Python

# tests/test_provider_vmware_wavefront.py
# Automatically generated by tools/makecode.py (24-Sep-2021 15:31:11 UTC)
def test_provider_import():
import terrascript.provider.vmware.wavefront
def test_resource_import():
from terrascript.resource.vmware.wavefront import wavefront_alert
from terrascript.resource.vmware.wavefront import wavefront_alert_target
from terrascript.resource.vmware.wavefront import (
wavefront_cloud_integration_app_dynamics,
)
from terrascript.resource.vmware.wavefront import (
wavefront_cloud_integration_aws_external_id,
)
from terrascript.resource.vmware.wavefront import wavefront_cloud_integration_azure
from terrascript.resource.vmware.wavefront import (
wavefront_cloud_integration_azure_activity_log,
)
from terrascript.resource.vmware.wavefront import (
wavefront_cloud_integration_cloudtrail,
)
from terrascript.resource.vmware.wavefront import (
wavefront_cloud_integration_cloudwatch,
)
from terrascript.resource.vmware.wavefront import wavefront_cloud_integration_ec2
from terrascript.resource.vmware.wavefront import wavefront_cloud_integration_gcp
from terrascript.resource.vmware.wavefront import (
wavefront_cloud_integration_gcp_billing,
)
from terrascript.resource.vmware.wavefront import (
wavefront_cloud_integration_newrelic,
)
from terrascript.resource.vmware.wavefront import wavefront_cloud_integration_tesla
from terrascript.resource.vmware.wavefront import wavefront_dashboard
from terrascript.resource.vmware.wavefront import wavefront_dashboard_json
from terrascript.resource.vmware.wavefront import wavefront_derived_metric
from terrascript.resource.vmware.wavefront import wavefront_external_link
from terrascript.resource.vmware.wavefront import wavefront_ingestion_policy
from terrascript.resource.vmware.wavefront import wavefront_maintenance_window
from terrascript.resource.vmware.wavefront import wavefront_role
from terrascript.resource.vmware.wavefront import wavefront_service_account
from terrascript.resource.vmware.wavefront import wavefront_user
from terrascript.resource.vmware.wavefront import wavefront_user_group
def test_datasource_import():
from terrascript.data.vmware.wavefront import wavefront_default_user_group
# 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.vmware.wavefront
#
# t = terrascript.provider.vmware.wavefront.wavefront()
# s = str(t)
#
# assert 'https://github.com/vmware/terraform-provider-wavefront' in s
# assert '3.0.0' in s