python-terrascript/tests/test_provider_SumoLogic_sum...

121 lines
4.4 KiB
Python

# tests/test_provider_SumoLogic_sumologic.py
# Automatically generated by tools/makecode.py (24-Sep-2021 15:28:04 UTC)
def test_provider_import():
import terrascript.provider.SumoLogic.sumologic
def test_resource_import():
from terrascript.resource.SumoLogic.sumologic import sumologic_aws_inventory_source
from terrascript.resource.SumoLogic.sumologic import sumologic_aws_xray_source
from terrascript.resource.SumoLogic.sumologic import sumologic_cloud_to_cloud_source
from terrascript.resource.SumoLogic.sumologic import sumologic_cloudfront_source
from terrascript.resource.SumoLogic.sumologic import sumologic_cloudsyslog_source
from terrascript.resource.SumoLogic.sumologic import sumologic_cloudtrail_source
from terrascript.resource.SumoLogic.sumologic import sumologic_cloudwatch_source
from terrascript.resource.SumoLogic.sumologic import sumologic_collector
from terrascript.resource.SumoLogic.sumologic import (
sumologic_collector_ingest_budget_assignment,
)
from terrascript.resource.SumoLogic.sumologic import sumologic_connection
from terrascript.resource.SumoLogic.sumologic import sumologic_content
from terrascript.resource.SumoLogic.sumologic import sumologic_cse_network_block
from terrascript.resource.SumoLogic.sumologic import sumologic_dashboard
from terrascript.resource.SumoLogic.sumologic import sumologic_elb_source
from terrascript.resource.SumoLogic.sumologic import sumologic_field
from terrascript.resource.SumoLogic.sumologic import sumologic_field_extraction_rule
from terrascript.resource.SumoLogic.sumologic import sumologic_folder
from terrascript.resource.SumoLogic.sumologic import sumologic_gcp_source
from terrascript.resource.SumoLogic.sumologic import sumologic_hierarchy
from terrascript.resource.SumoLogic.sumologic import sumologic_http_source
from terrascript.resource.SumoLogic.sumologic import sumologic_ingest_budget
from terrascript.resource.SumoLogic.sumologic import sumologic_ingest_budget_v2
from terrascript.resource.SumoLogic.sumologic import (
sumologic_kinesis_metrics_source,
)
from terrascript.resource.SumoLogic.sumologic import sumologic_lookup_table
from terrascript.resource.SumoLogic.sumologic import sumologic_metadata_source
from terrascript.resource.SumoLogic.sumologic import sumologic_monitor
from terrascript.resource.SumoLogic.sumologic import sumologic_monitor_folder
from terrascript.resource.SumoLogic.sumologic import sumologic_partition
from terrascript.resource.SumoLogic.sumologic import sumologic_password_policy
from terrascript.resource.SumoLogic.sumologic import sumologic_policies
from terrascript.resource.SumoLogic.sumologic import sumologic_polling_source
from terrascript.resource.SumoLogic.sumologic import sumologic_role
from terrascript.resource.SumoLogic.sumologic import sumologic_s3_audit_source
from terrascript.resource.SumoLogic.sumologic import sumologic_s3_source
from terrascript.resource.SumoLogic.sumologic import sumologic_saml_configuration
from terrascript.resource.SumoLogic.sumologic import sumologic_scheduled_view
from terrascript.resource.SumoLogic.sumologic import sumologic_subdomain
from terrascript.resource.SumoLogic.sumologic import sumologic_token
from terrascript.resource.SumoLogic.sumologic import sumologic_user
def test_datasource_import():
from terrascript.data.SumoLogic.sumologic import sumologic_admin_recommended_folder
from terrascript.data.SumoLogic.sumologic import sumologic_caller_identity
from terrascript.data.SumoLogic.sumologic import sumologic_collector
from terrascript.data.SumoLogic.sumologic import sumologic_http_source
from terrascript.data.SumoLogic.sumologic import sumologic_my_user_id
from terrascript.data.SumoLogic.sumologic import sumologic_personal_folder
from terrascript.data.SumoLogic.sumologic import sumologic_role
# 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.SumoLogic.sumologic
#
# t = terrascript.provider.SumoLogic.sumologic.sumologic()
# s = str(t)
#
# assert 'https://github.com/SumoLogic/terraform-provider-sumologic' in s
# assert '2.10.0' in s