python-terrascript/tests/test_provider_eLobeto_ranch...

49 lines
1.5 KiB
Python

# tests/test_provider_eLobeto_rancher.py
# Automatically generated by tools/makecode.py (24-Sep-2021 15:25:31 UTC)
def test_provider_import():
import terrascript.provider.eLobeto.rancher
def test_resource_import():
from terrascript.resource.eLobeto.rancher import rancher_certificate
from terrascript.resource.eLobeto.rancher import rancher_environment
from terrascript.resource.eLobeto.rancher import rancher_host
from terrascript.resource.eLobeto.rancher import rancher_registration_token
from terrascript.resource.eLobeto.rancher import rancher_registry
from terrascript.resource.eLobeto.rancher import rancher_registry_credential
from terrascript.resource.eLobeto.rancher import rancher_secret
from terrascript.resource.eLobeto.rancher import rancher_stack
from terrascript.resource.eLobeto.rancher import rancher_volume
def test_datasource_import():
from terrascript.data.eLobeto.rancher import rancher_certificate
from terrascript.data.eLobeto.rancher import rancher_environment
from terrascript.data.eLobeto.rancher import rancher_setting
# 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.eLobeto.rancher
#
# t = terrascript.provider.eLobeto.rancher.rancher()
# s = str(t)
#
# assert 'https://github.com/eLobeto/terraform-provider-rancher' in s
# assert '1.5.1' in s