python-terrascript/tests/test_provider_hashicorp_has...

33 lines
977 B
Python

# tests/test_provider_hashicorp_hashicups.py
# Automatically generated by tools/makecode.py (24-Sep-2021 15:18:02 UTC)
def test_provider_import():
import terrascript.provider.hashicorp.hashicups
def test_resource_import():
from terrascript.resource.hashicorp.hashicups import hashicups_order
def test_datasource_import():
from terrascript.data.hashicorp.hashicups import hashicups_coffees
from terrascript.data.hashicorp.hashicups import hashicups_ingredients
from terrascript.data.hashicorp.hashicups import hashicups_order
# 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.hashicups
#
# t = terrascript.provider.hashicorp.hashicups.hashicups()
# s = str(t)
#
# assert 'https://github.com/hashicorp/terraform-provider-hashicups' in s
# assert '0.3.1' in s