python-terrascript/tests/test_provider_llomgui_opens...

39 lines
1.2 KiB
Python

# tests/test_provider_llomgui_openshift.py
# Automatically generated by tools/makecode.py (24-Sep-2021 15:23:47 UTC)
def test_provider_import():
import terrascript.provider.llomgui.openshift
def test_resource_import():
from terrascript.resource.llomgui.openshift import openshift_build_config
from terrascript.resource.llomgui.openshift import openshift_deployment_config
from terrascript.resource.llomgui.openshift import openshift_image_stream
from terrascript.resource.llomgui.openshift import openshift_netnamespace
from terrascript.resource.llomgui.openshift import openshift_project
from terrascript.resource.llomgui.openshift import openshift_project_request
from terrascript.resource.llomgui.openshift import openshift_route
from terrascript.resource.llomgui.openshift import openshift_secret
# 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.llomgui.openshift
#
# t = terrascript.provider.llomgui.openshift.openshift()
# s = str(t)
#
# assert 'https://github.com/llomgui/terraform-provider-openshift' in s
# assert '1.1.0' in s