python-terrascript/tests/test_provider_gavinbunney_k...

37 lines
1.1 KiB
Python

# tests/test_provider_gavinbunney_kubectl.py
# Automatically generated by tools/makecode.py (24-Sep-2021 15:20:27 UTC)
def test_provider_import():
import terrascript.provider.gavinbunney.kubectl
def test_resource_import():
from terrascript.resource.gavinbunney.kubectl import kubectl_manifest
from terrascript.resource.gavinbunney.kubectl import kubectl_server_version
def test_datasource_import():
from terrascript.data.gavinbunney.kubectl import kubectl_file_documents
from terrascript.data.gavinbunney.kubectl import kubectl_filename_list
from terrascript.data.gavinbunney.kubectl import kubectl_path_documents
from terrascript.data.gavinbunney.kubectl import kubectl_server_version
# 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.kubectl
#
# t = terrascript.provider.gavinbunney.kubectl.kubectl()
# s = str(t)
#
# assert 'https://github.com/gavinbunney/terraform-provider-kubectl' in s
# assert '1.11.3' in s