python-terrascript/tests/test_provider_rancher_rke.py

25 lines
670 B
Python

# tests/test_provider_rancher_rke.py
# Automatically generated by tools/makecode.py (24-Sep-2021 15:25:51 UTC)
def test_provider_import():
import terrascript.provider.rancher.rke
def test_resource_import():
from terrascript.resource.rancher.rke import rke_cluster
# 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.rancher.rke
#
# t = terrascript.provider.rancher.rke.rke()
# s = str(t)
#
# assert 'https://github.com/rancher/terraform-provider-rke' in s
# assert '1.2.3' in s