39 lines
1.2 KiB
Python
39 lines
1.2 KiB
Python
# tests/test_provider_NetApp_netapp-gcp.py
|
|
# Automatically generated by tools/makecode.py (24-Sep-2021 15:22:18 UTC)
|
|
|
|
|
|
def test_provider_import():
|
|
import terrascript.provider.NetApp.netapp_gcp
|
|
|
|
|
|
def test_resource_import():
|
|
from terrascript.resource.NetApp.netapp_gcp import netapp_gcp_active_directory
|
|
|
|
from terrascript.resource.NetApp.netapp_gcp import netapp_gcp_snapshot
|
|
|
|
from terrascript.resource.NetApp.netapp_gcp import netapp_gcp_volume
|
|
|
|
from terrascript.resource.NetApp.netapp_gcp import netapp_gcp_volume_backup
|
|
|
|
from terrascript.resource.NetApp.netapp_gcp import netapp_gcp_volume_replication
|
|
|
|
|
|
def test_datasource_import():
|
|
from terrascript.data.NetApp.netapp_gcp import netapp_gcp_active_directory
|
|
|
|
from terrascript.data.NetApp.netapp_gcp import netapp_gcp_volume
|
|
|
|
|
|
# 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.NetApp.netapp_gcp
|
|
#
|
|
# t = terrascript.provider.NetApp.netapp_gcp.netapp_gcp()
|
|
# s = str(t)
|
|
#
|
|
# assert 'https://github.com/NetApp/terraform-provider-netapp-gcp' in s
|
|
# assert '21.9.0' in s
|