python-terrascript/tests/test_provider_invidian_upti...

35 lines
1.1 KiB
Python

# tests/test_provider_invidian_uptimerobot.py
# Automatically generated by tools/makecode.py (24-Sep-2021 15:29:51 UTC)
def test_provider_import():
import terrascript.provider.invidian.uptimerobot
def test_resource_import():
from terrascript.resource.invidian.uptimerobot import uptimerobot_alert_contact
from terrascript.resource.invidian.uptimerobot import uptimerobot_monitor
from terrascript.resource.invidian.uptimerobot import uptimerobot_status_page
def test_datasource_import():
from terrascript.data.invidian.uptimerobot import uptimerobot_account
from terrascript.data.invidian.uptimerobot import uptimerobot_alert_contact
# 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.invidian.uptimerobot
#
# t = terrascript.provider.invidian.uptimerobot.uptimerobot()
# s = str(t)
#
# assert 'https://github.com/invidian/terraform-provider-uptimerobot' in s
# assert '0.5.1-gb83a310' in s