53 lines
1.6 KiB
Python
53 lines
1.6 KiB
Python
# tests/test_provider_ns1-terraform_ns1.py
|
|
# Automatically generated by tools/makecode.py (24-Sep-2021 15:22:51 UTC)
|
|
|
|
|
|
def test_provider_import():
|
|
import terrascript.provider.ns1_terraform.ns1
|
|
|
|
|
|
def test_resource_import():
|
|
from terrascript.resource.ns1_terraform.ns1 import ns1_apikey
|
|
|
|
from terrascript.resource.ns1_terraform.ns1 import ns1_application
|
|
|
|
from terrascript.resource.ns1_terraform.ns1 import ns1_datafeed
|
|
|
|
from terrascript.resource.ns1_terraform.ns1 import ns1_datasource
|
|
|
|
from terrascript.resource.ns1_terraform.ns1 import ns1_monitoringjob
|
|
|
|
from terrascript.resource.ns1_terraform.ns1 import ns1_notifylist
|
|
|
|
from terrascript.resource.ns1_terraform.ns1 import ns1_pulsarjob
|
|
|
|
from terrascript.resource.ns1_terraform.ns1 import ns1_record
|
|
|
|
from terrascript.resource.ns1_terraform.ns1 import ns1_team
|
|
|
|
from terrascript.resource.ns1_terraform.ns1 import ns1_user
|
|
|
|
from terrascript.resource.ns1_terraform.ns1 import ns1_zone
|
|
|
|
|
|
def test_datasource_import():
|
|
from terrascript.data.ns1_terraform.ns1 import ns1_dnssec
|
|
|
|
from terrascript.data.ns1_terraform.ns1 import ns1_record
|
|
|
|
from terrascript.data.ns1_terraform.ns1 import ns1_zone
|
|
|
|
|
|
# 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.ns1_terraform.ns1
|
|
#
|
|
# t = terrascript.provider.ns1_terraform.ns1.ns1()
|
|
# s = str(t)
|
|
#
|
|
# assert 'https://github.com/ns1-terraform/terraform-provider-ns1' in s
|
|
# assert '1.12.1' in s
|