python-terrascript/tests/test_provider_aztfmod_azure...

27 lines
789 B
Python

# tests/test_provider_aztfmod_azurecaf.py
# Automatically generated by tools/makecode.py (24-Sep-2021 15:12:56 UTC)
def test_provider_import():
import terrascript.provider.aztfmod.azurecaf
def test_resource_import():
from terrascript.resource.aztfmod.azurecaf import azurecaf_name
from terrascript.resource.aztfmod.azurecaf import azurecaf_naming_convention
# 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.aztfmod.azurecaf
#
# t = terrascript.provider.aztfmod.azurecaf.azurecaf()
# s = str(t)
#
# assert 'https://github.com/aztfmod/terraform-provider-azurecaf' in s
# assert '1.2.6' in s