python-terrascript/tests/test_provider_gavinbunney_r...

29 lines
826 B
Python

# tests/test_provider_gavinbunney_restapi.py
# Automatically generated by tools/makecode.py (24-Sep-2021 15:25:44 UTC)
def test_provider_import():
import terrascript.provider.gavinbunney.restapi
def test_resource_import():
from terrascript.resource.gavinbunney.restapi import restapi_object
def test_datasource_import():
from terrascript.data.gavinbunney.restapi import restapi_object
# 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.gavinbunney.restapi
#
# t = terrascript.provider.gavinbunney.restapi.restapi()
# s = str(t)
#
# assert 'https://github.com/gavinbunney/terraform-provider-restapi' in s
# assert '1.15.4' in s