python-terrascript/tests/test_provider_ptyng_null.py

29 lines
760 B
Python

# tests/test_provider_ptyng_null.py
# Automatically generated by tools/makecode.py (24-Aug-2021 11:33:29 UTC)
def test_provider_import():
import terrascript.provider.ptyng.null
def test_resource_import():
from terrascript.resource.ptyng.null import null_resource
def test_datasource_import():
from terrascript.data.ptyng.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.ptyng.null
#
# t = terrascript.provider.ptyng.null.null()
# s = str(t)
#
# assert 'https://github.com/ptyng/terraform-provider-null' in s
# assert '0.1.1' in s