79 lines
2.6 KiB
Python
79 lines
2.6 KiB
Python
# tests/test_provider_e-breuninger_netbox.py
|
|
# Automatically generated by tools/makecode.py (24-Sep-2021 15:22:23 UTC)
|
|
|
|
|
|
def test_provider_import():
|
|
import terrascript.provider.e_breuninger.netbox
|
|
|
|
|
|
def test_resource_import():
|
|
from terrascript.resource.e_breuninger.netbox import netbox_available_ip_address
|
|
|
|
from terrascript.resource.e_breuninger.netbox import netbox_cluster
|
|
|
|
from terrascript.resource.e_breuninger.netbox import netbox_cluster_group
|
|
|
|
from terrascript.resource.e_breuninger.netbox import netbox_cluster_type
|
|
|
|
from terrascript.resource.e_breuninger.netbox import netbox_device_role
|
|
|
|
from terrascript.resource.e_breuninger.netbox import netbox_interface
|
|
|
|
from terrascript.resource.e_breuninger.netbox import netbox_ip_address
|
|
|
|
from terrascript.resource.e_breuninger.netbox import netbox_platform
|
|
|
|
from terrascript.resource.e_breuninger.netbox import netbox_prefix
|
|
|
|
from terrascript.resource.e_breuninger.netbox import netbox_primary_ip
|
|
|
|
from terrascript.resource.e_breuninger.netbox import netbox_service
|
|
|
|
from terrascript.resource.e_breuninger.netbox import netbox_tag
|
|
|
|
from terrascript.resource.e_breuninger.netbox import netbox_tenant
|
|
|
|
from terrascript.resource.e_breuninger.netbox import netbox_tenant_group
|
|
|
|
from terrascript.resource.e_breuninger.netbox import netbox_virtual_machine
|
|
|
|
from terrascript.resource.e_breuninger.netbox import netbox_vrf
|
|
|
|
|
|
def test_datasource_import():
|
|
from terrascript.data.e_breuninger.netbox import netbox_cluster
|
|
|
|
from terrascript.data.e_breuninger.netbox import netbox_cluster_group
|
|
|
|
from terrascript.data.e_breuninger.netbox import netbox_device_role
|
|
|
|
from terrascript.data.e_breuninger.netbox import netbox_interfaces
|
|
|
|
from terrascript.data.e_breuninger.netbox import netbox_platform
|
|
|
|
from terrascript.data.e_breuninger.netbox import netbox_prefix
|
|
|
|
from terrascript.data.e_breuninger.netbox import netbox_tag
|
|
|
|
from terrascript.data.e_breuninger.netbox import netbox_tenant
|
|
|
|
from terrascript.data.e_breuninger.netbox import netbox_tenant_group
|
|
|
|
from terrascript.data.e_breuninger.netbox import netbox_virtual_machines
|
|
|
|
from terrascript.data.e_breuninger.netbox import netbox_vrf
|
|
|
|
|
|
# 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.e_breuninger.netbox
|
|
#
|
|
# t = terrascript.provider.e_breuninger.netbox.netbox()
|
|
# s = str(t)
|
|
#
|
|
# assert 'https://github.com/e-breuninger/terraform-provider-netbox' in s
|
|
# assert '0.2.4' in s
|