python-terrascript/tests/test_provider_kradalby_opns...

35 lines
1.1 KiB
Python

# tests/test_provider_kradalby_opnsense.py
# Automatically generated by tools/makecode.py (24-Sep-2021 15:23:52 UTC)
def test_provider_import():
import terrascript.provider.kradalby.opnsense
def test_resource_import():
from terrascript.resource.kradalby.opnsense import opnsense_firewall_alias
from terrascript.resource.kradalby.opnsense import opnsense_firewall_alias_util
from terrascript.resource.kradalby.opnsense import opnsense_wireguard_client
from terrascript.resource.kradalby.opnsense import opnsense_wireguard_server
def test_datasource_import():
from terrascript.data.kradalby.opnsense import opnsense_firewall_alias
# 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.kradalby.opnsense
#
# t = terrascript.provider.kradalby.opnsense.opnsense()
# s = str(t)
#
# assert 'https://github.com/kradalby/terraform-provider-opnsense' in s
# assert '0.0.2-pre' in s