31 lines
954 B
Python
31 lines
954 B
Python
# tests/test_provider_yannh_statuspage.py
|
|
# Automatically generated by tools/makecode.py (24-Sep-2021 15:27:54 UTC)
|
|
|
|
|
|
def test_provider_import():
|
|
import terrascript.provider.yannh.statuspage
|
|
|
|
|
|
def test_resource_import():
|
|
from terrascript.resource.yannh.statuspage import statuspage_component
|
|
|
|
from terrascript.resource.yannh.statuspage import statuspage_component_group
|
|
|
|
from terrascript.resource.yannh.statuspage import statuspage_metric
|
|
|
|
from terrascript.resource.yannh.statuspage import statuspage_metrics_provider
|
|
|
|
|
|
# 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.yannh.statuspage
|
|
#
|
|
# t = terrascript.provider.yannh.statuspage.statuspage()
|
|
# s = str(t)
|
|
#
|
|
# assert 'https://github.com/yannh/terraform-provider-statuspage' in s
|
|
# assert '0.1.7' in s
|