75 lines
2.5 KiB
Python
75 lines
2.5 KiB
Python
# tests/test_provider_opsgenie_opsgenie.py
|
|
# Automatically generated by tools/makecode.py (24-Sep-2021 15:23:56 UTC)
|
|
|
|
|
|
def test_provider_import():
|
|
import terrascript.provider.opsgenie.opsgenie
|
|
|
|
|
|
def test_resource_import():
|
|
from terrascript.resource.opsgenie.opsgenie import opsgenie_alert_policy
|
|
|
|
from terrascript.resource.opsgenie.opsgenie import opsgenie_api_integration
|
|
|
|
from terrascript.resource.opsgenie.opsgenie import opsgenie_custom_role
|
|
|
|
from terrascript.resource.opsgenie.opsgenie import opsgenie_email_integration
|
|
|
|
from terrascript.resource.opsgenie.opsgenie import opsgenie_escalation
|
|
|
|
from terrascript.resource.opsgenie.opsgenie import opsgenie_heartbeat
|
|
|
|
from terrascript.resource.opsgenie.opsgenie import opsgenie_incident_template
|
|
|
|
from terrascript.resource.opsgenie.opsgenie import opsgenie_integration_action
|
|
|
|
from terrascript.resource.opsgenie.opsgenie import opsgenie_maintenance
|
|
|
|
from terrascript.resource.opsgenie.opsgenie import opsgenie_notification_policy
|
|
|
|
from terrascript.resource.opsgenie.opsgenie import opsgenie_notification_rule
|
|
|
|
from terrascript.resource.opsgenie.opsgenie import opsgenie_schedule
|
|
|
|
from terrascript.resource.opsgenie.opsgenie import opsgenie_schedule_rotation
|
|
|
|
from terrascript.resource.opsgenie.opsgenie import opsgenie_service
|
|
|
|
from terrascript.resource.opsgenie.opsgenie import opsgenie_service_incident_rule
|
|
|
|
from terrascript.resource.opsgenie.opsgenie import opsgenie_team
|
|
|
|
from terrascript.resource.opsgenie.opsgenie import opsgenie_team_routing_rule
|
|
|
|
from terrascript.resource.opsgenie.opsgenie import opsgenie_user
|
|
|
|
from terrascript.resource.opsgenie.opsgenie import opsgenie_user_contact
|
|
|
|
|
|
def test_datasource_import():
|
|
from terrascript.data.opsgenie.opsgenie import opsgenie_escalation
|
|
|
|
from terrascript.data.opsgenie.opsgenie import opsgenie_heartbeat
|
|
|
|
from terrascript.data.opsgenie.opsgenie import opsgenie_schedule
|
|
|
|
from terrascript.data.opsgenie.opsgenie import opsgenie_service
|
|
|
|
from terrascript.data.opsgenie.opsgenie import opsgenie_team
|
|
|
|
from terrascript.data.opsgenie.opsgenie import opsgenie_user
|
|
|
|
|
|
# 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.opsgenie.opsgenie
|
|
#
|
|
# t = terrascript.provider.opsgenie.opsgenie.opsgenie()
|
|
# s = str(t)
|
|
#
|
|
# assert 'https://github.com/opsgenie/terraform-provider-opsgenie' in s
|
|
# assert '0.6.5' in s
|