python-terrascript/tests/test_provider_datarootsio_k...

45 lines
1.3 KiB
Python

# tests/test_provider_datarootsio_kubeflowpipelines.py
# Automatically generated by tools/makecode.py (24-Sep-2021 15:20:37 UTC)
def test_provider_import():
import terrascript.provider.datarootsio.kubeflowpipelines
def test_resource_import():
from terrascript.resource.datarootsio.kubeflowpipelines import (
kubeflowpipelines_experiment,
)
from terrascript.resource.datarootsio.kubeflowpipelines import kubeflowpipelines_job
from terrascript.resource.datarootsio.kubeflowpipelines import (
kubeflowpipelines_pipeline,
)
from terrascript.resource.datarootsio.kubeflowpipelines import kubeflowpipelines_run
def test_datasource_import():
from terrascript.data.datarootsio.kubeflowpipelines import (
kubeflowpipelines_experiment,
)
from terrascript.data.datarootsio.kubeflowpipelines import (
kubeflowpipelines_pipeline,
)
# 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.datarootsio.kubeflowpipelines
#
# t = terrascript.provider.datarootsio.kubeflowpipelines.kubeflowpipelines()
# s = str(t)
#
# assert 'https://github.com/datarootsio/terraform-provider-kubeflowpipelines' in s
# assert '0.0.10' in s