python-terrascript/tests/test_provider_NetApp_netapp...

33 lines
1.0 KiB
Python

# tests/test_provider_NetApp_netapp-elementsw.py
# Automatically generated by tools/makecode.py (24-Sep-2021 15:22:13 UTC)
def test_provider_import():
import terrascript.provider.NetApp.netapp_elementsw
def test_resource_import():
from terrascript.resource.NetApp.netapp_elementsw import elementsw_account
from terrascript.resource.NetApp.netapp_elementsw import elementsw_initiator
from terrascript.resource.NetApp.netapp_elementsw import elementsw_volume
from terrascript.resource.NetApp.netapp_elementsw import (
elementsw_volume_access_group,
)
# 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_elementsw
#
# t = terrascript.provider.NetApp.netapp_elementsw.netapp_elementsw()
# s = str(t)
#
# assert 'https://github.com/NetApp/terraform-provider-netapp-elementsw' in s
# assert '20.11.0' in s