python-terrascript/tests/test_provider_jeremmfr_ipta...

39 lines
1.2 KiB
Python

# tests/test_provider_jeremmfr_iptables.py
# Automatically generated by tools/makecode.py (24-Sep-2021 15:19:14 UTC)
def test_provider_import():
import terrascript.provider.jeremmfr.iptables
def test_resource_import():
from terrascript.resource.jeremmfr.iptables import iptables_nat
from terrascript.resource.jeremmfr.iptables import iptables_nat_ipv6
from terrascript.resource.jeremmfr.iptables import iptables_project
from terrascript.resource.jeremmfr.iptables import iptables_project_ipv6
from terrascript.resource.jeremmfr.iptables import iptables_raw
from terrascript.resource.jeremmfr.iptables import iptables_raw_ipv6
from terrascript.resource.jeremmfr.iptables import iptables_rules
from terrascript.resource.jeremmfr.iptables import iptables_rules_ipv6
# 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.jeremmfr.iptables
#
# t = terrascript.provider.jeremmfr.iptables.iptables()
# s = str(t)
#
# assert 'https://github.com/jeremmfr/terraform-provider-iptables' in s
# assert '1.2.0' in s