python-terrascript/tests/test_provider_innovationnor...

45 lines
1.4 KiB
Python

# tests/test_provider_innovationnorway_netbox.py
# Automatically generated by tools/makecode.py (24-Sep-2021 15:22:28 UTC)
def test_provider_import():
import terrascript.provider.innovationnorway.netbox
def test_resource_import():
from terrascript.resource.innovationnorway.netbox import netbox_ipam_aggregates
from terrascript.resource.innovationnorway.netbox import (
netbox_ipam_available_prefix,
)
from terrascript.resource.innovationnorway.netbox import netbox_ipam_prefix
from terrascript.resource.innovationnorway.netbox import netbox_ipam_rir
from terrascript.resource.innovationnorway.netbox import netbox_tag
def test_datasource_import():
from terrascript.data.innovationnorway.netbox import netbox_ipam_aggregates
from terrascript.data.innovationnorway.netbox import netbox_ipam_available_prefixes
from terrascript.data.innovationnorway.netbox import netbox_ipam_prefix
from terrascript.data.innovationnorway.netbox import netbox_ipam_prefixes
# 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.innovationnorway.netbox
#
# t = terrascript.provider.innovationnorway.netbox.netbox()
# s = str(t)
#
# assert 'https://github.com/innovationnorway/terraform-provider-netbox' in s
# assert '0.1.0-alpha.2' in s