33 lines
895 B
Python
33 lines
895 B
Python
# tests/test_provider_paultyng_sql.py
|
|
# Automatically generated by tools/makecode.py (24-Sep-2021 15:27:39 UTC)
|
|
|
|
|
|
def test_provider_import():
|
|
import terrascript.provider.paultyng.sql
|
|
|
|
|
|
def test_resource_import():
|
|
from terrascript.resource.paultyng.sql import sql_migrate
|
|
|
|
from terrascript.resource.paultyng.sql import sql_migrate_directory
|
|
|
|
|
|
def test_datasource_import():
|
|
from terrascript.data.paultyng.sql import sql_driver
|
|
|
|
from terrascript.data.paultyng.sql import sql_query
|
|
|
|
|
|
# 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.paultyng.sql
|
|
#
|
|
# t = terrascript.provider.paultyng.sql.sql()
|
|
# s = str(t)
|
|
#
|
|
# assert 'https://github.com/paultyng/terraform-provider-sql' in s
|
|
# assert '0.4.0' in s
|