python-terrascript/tests/test_provider_F5Networks_bi...

147 lines
5.0 KiB
Python

# tests/test_provider_F5Networks_bigip.py
# Automatically generated by tools/makecode.py (24-Sep-2021 15:13:25 UTC)
def test_provider_import():
import terrascript.provider.F5Networks.bigip
def test_resource_import():
from terrascript.resource.F5Networks.bigip import bigip_as3
from terrascript.resource.F5Networks.bigip import bigip_bigiq_as3
from terrascript.resource.F5Networks.bigip import bigip_cm_device
from terrascript.resource.F5Networks.bigip import bigip_cm_devicegroup
from terrascript.resource.F5Networks.bigip import bigip_command
from terrascript.resource.F5Networks.bigip import bigip_common_license_manage_bigiq
from terrascript.resource.F5Networks.bigip import bigip_do
from terrascript.resource.F5Networks.bigip import bigip_event_service_discovery
from terrascript.resource.F5Networks.bigip import bigip_fast_application
from terrascript.resource.F5Networks.bigip import bigip_fast_template
from terrascript.resource.F5Networks.bigip import bigip_ipsec_policy
from terrascript.resource.F5Networks.bigip import bigip_ltm_datagroup
from terrascript.resource.F5Networks.bigip import bigip_ltm_irule
from terrascript.resource.F5Networks.bigip import bigip_ltm_monitor
from terrascript.resource.F5Networks.bigip import bigip_ltm_node
from terrascript.resource.F5Networks.bigip import (
bigip_ltm_persistence_profile_cookie,
)
from terrascript.resource.F5Networks.bigip import (
bigip_ltm_persistence_profile_dstaddr,
)
from terrascript.resource.F5Networks.bigip import (
bigip_ltm_persistence_profile_srcaddr,
)
from terrascript.resource.F5Networks.bigip import bigip_ltm_persistence_profile_ssl
from terrascript.resource.F5Networks.bigip import bigip_ltm_policy
from terrascript.resource.F5Networks.bigip import bigip_ltm_pool
from terrascript.resource.F5Networks.bigip import bigip_ltm_pool_attachment
from terrascript.resource.F5Networks.bigip import bigip_ltm_profile_client_ssl
from terrascript.resource.F5Networks.bigip import bigip_ltm_profile_fasthttp
from terrascript.resource.F5Networks.bigip import bigip_ltm_profile_fastl4
from terrascript.resource.F5Networks.bigip import bigip_ltm_profile_ftp
from terrascript.resource.F5Networks.bigip import bigip_ltm_profile_http
from terrascript.resource.F5Networks.bigip import bigip_ltm_profile_http2
from terrascript.resource.F5Networks.bigip import bigip_ltm_profile_httpcompress
from terrascript.resource.F5Networks.bigip import bigip_ltm_profile_oneconnect
from terrascript.resource.F5Networks.bigip import bigip_ltm_profile_server_ssl
from terrascript.resource.F5Networks.bigip import bigip_ltm_profile_tcp
from terrascript.resource.F5Networks.bigip import bigip_ltm_snat
from terrascript.resource.F5Networks.bigip import bigip_ltm_snatpool
from terrascript.resource.F5Networks.bigip import bigip_ltm_virtual_address
from terrascript.resource.F5Networks.bigip import bigip_ltm_virtual_server
from terrascript.resource.F5Networks.bigip import bigip_net_ike_peer
from terrascript.resource.F5Networks.bigip import bigip_net_route
from terrascript.resource.F5Networks.bigip import bigip_net_selfip
from terrascript.resource.F5Networks.bigip import bigip_net_tunnel
from terrascript.resource.F5Networks.bigip import bigip_net_vlan
from terrascript.resource.F5Networks.bigip import bigip_ssl_certificate
from terrascript.resource.F5Networks.bigip import bigip_ssl_key
from terrascript.resource.F5Networks.bigip import bigip_sys_bigiplicense
from terrascript.resource.F5Networks.bigip import bigip_sys_dns
from terrascript.resource.F5Networks.bigip import bigip_sys_iapp
from terrascript.resource.F5Networks.bigip import bigip_sys_ntp
from terrascript.resource.F5Networks.bigip import bigip_sys_provision
from terrascript.resource.F5Networks.bigip import bigip_sys_snmp
from terrascript.resource.F5Networks.bigip import bigip_sys_snmp_traps
from terrascript.resource.F5Networks.bigip import bigip_traffic_selector
def test_datasource_import():
from terrascript.data.F5Networks.bigip import bigip_ltm_datagroup
from terrascript.data.F5Networks.bigip import bigip_ltm_irule
from terrascript.data.F5Networks.bigip import bigip_ltm_monitor
from terrascript.data.F5Networks.bigip import bigip_ltm_node
from terrascript.data.F5Networks.bigip import bigip_ltm_pool
from terrascript.data.F5Networks.bigip import bigip_ssl_certificate
from terrascript.data.F5Networks.bigip import bigip_vwan_config
# 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.F5Networks.bigip
#
# t = terrascript.provider.F5Networks.bigip.bigip()
# s = str(t)
#
# assert 'https://github.com/F5Networks/terraform-provider-bigip' in s
# assert '1.11.1' in s