python-terrascript/tests/test_provider_hashicorp_nul...

29 lines
788 B
Python

# tests/test_provider_hashicorp_null.py
# Automatically generated by tools/makecode.py (24-Sep-2021 15:22:59 UTC)
def test_provider_import():
import terrascript.provider.hashicorp.null
def test_resource_import():
from terrascript.resource.hashicorp.null import null_resource
def test_datasource_import():
from terrascript.data.hashicorp.null import null_data_source
# 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.hashicorp.null
#
# t = terrascript.provider.hashicorp.null.null()
# s = str(t)
#
# assert 'https://github.com/hashicorp/terraform-provider-null' in s
# assert '3.1.0' in s