python-terrascript/tests/test_provider_splunk_terraf...

105 lines
3.4 KiB
Python

# tests/test_provider_splunk-terraform_signalfx.py
# Automatically generated by tools/makecode.py (24-Sep-2021 15:27:12 UTC)
def test_provider_import():
import terrascript.provider.splunk_terraform.signalfx
def test_resource_import():
from terrascript.resource.splunk_terraform.signalfx import (
signalfx_alert_muting_rule,
)
from terrascript.resource.splunk_terraform.signalfx import (
signalfx_aws_external_integration,
)
from terrascript.resource.splunk_terraform.signalfx import signalfx_aws_integration
from terrascript.resource.splunk_terraform.signalfx import (
signalfx_aws_token_integration,
)
from terrascript.resource.splunk_terraform.signalfx import (
signalfx_azure_integration,
)
from terrascript.resource.splunk_terraform.signalfx import signalfx_dashboard
from terrascript.resource.splunk_terraform.signalfx import signalfx_dashboard_group
from terrascript.resource.splunk_terraform.signalfx import signalfx_data_link
from terrascript.resource.splunk_terraform.signalfx import signalfx_detector
from terrascript.resource.splunk_terraform.signalfx import signalfx_event_feed_chart
from terrascript.resource.splunk_terraform.signalfx import signalfx_gcp_integration
from terrascript.resource.splunk_terraform.signalfx import signalfx_heatmap_chart
from terrascript.resource.splunk_terraform.signalfx import signalfx_jira_integration
from terrascript.resource.splunk_terraform.signalfx import signalfx_list_chart
from terrascript.resource.splunk_terraform.signalfx import (
signalfx_opsgenie_integration,
)
from terrascript.resource.splunk_terraform.signalfx import signalfx_org_token
from terrascript.resource.splunk_terraform.signalfx import (
signalfx_pagerduty_integration,
)
from terrascript.resource.splunk_terraform.signalfx import (
signalfx_single_value_chart,
)
from terrascript.resource.splunk_terraform.signalfx import (
signalfx_slack_integration,
)
from terrascript.resource.splunk_terraform.signalfx import signalfx_team
from terrascript.resource.splunk_terraform.signalfx import signalfx_text_chart
from terrascript.resource.splunk_terraform.signalfx import signalfx_time_chart
from terrascript.resource.splunk_terraform.signalfx import (
signalfx_victor_ops_integration,
)
from terrascript.resource.splunk_terraform.signalfx import (
signalfx_webhook_integration,
)
def test_datasource_import():
from terrascript.data.splunk_terraform.signalfx import signalfx_aws_services
from terrascript.data.splunk_terraform.signalfx import signalfx_azure_services
from terrascript.data.splunk_terraform.signalfx import signalfx_dimension_values
from terrascript.data.splunk_terraform.signalfx import signalfx_gcp_services
from terrascript.data.splunk_terraform.signalfx import (
signalfx_pagerduty_integration,
)
# 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.splunk_terraform.signalfx
#
# t = terrascript.provider.splunk_terraform.signalfx.signalfx()
# s = str(t)
#
# assert 'https://github.com/splunk-terraform/terraform-provider-signalfx' in s
# assert '6.7.7' in s