python-terrascript/tests/test_provider_innovationnor...

33 lines
1.0 KiB
Python

# tests/test_provider_innovationnorway_azure-preview.py
# Automatically generated by tools/makecode.py (24-Sep-2021 15:12:49 UTC)
def test_provider_import():
import terrascript.provider.innovationnorway.azure_preview
def test_resource_import():
from terrascript.resource.innovationnorway.azure_preview import azurepreview_budget
from terrascript.resource.innovationnorway.azure_preview import (
azurepreview_subscription,
)
def test_datasource_import():
from terrascript.data.innovationnorway.azure_preview import azurepreview_resources
# 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.innovationnorway.azure_preview
#
# t = terrascript.provider.innovationnorway.azure_preview.azure_preview()
# s = str(t)
#
# assert 'https://github.com/innovationnorway/terraform-provider-azure-preview' in s
# assert '0.1.0-alpha.3' in s