37 lines
1.0 KiB
Python
37 lines
1.0 KiB
Python
# tests/test_provider_davidji99_split.py
|
|
# Automatically generated by tools/makecode.py (24-Sep-2021 15:27:33 UTC)
|
|
|
|
|
|
def test_provider_import():
|
|
import terrascript.provider.davidji99.split
|
|
|
|
|
|
def test_resource_import():
|
|
from terrascript.resource.davidji99.split import split_environment
|
|
|
|
from terrascript.resource.davidji99.split import split_group
|
|
|
|
from terrascript.resource.davidji99.split import split_segment
|
|
|
|
from terrascript.resource.davidji99.split import split_user
|
|
|
|
|
|
def test_datasource_import():
|
|
from terrascript.data.davidji99.split import split_traffic_type
|
|
|
|
from terrascript.data.davidji99.split import split_workspace
|
|
|
|
|
|
# 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.davidji99.split
|
|
#
|
|
# t = terrascript.provider.davidji99.split.split()
|
|
# s = str(t)
|
|
#
|
|
# assert 'https://github.com/davidji99/terraform-provider-split' in s
|
|
# assert '0.2.0' in s
|