python-terrascript/tests/test_provider_camptocamp_fr...

27 lines
793 B
Python

# tests/test_provider_camptocamp_freeipa.py
# Automatically generated by tools/makecode.py (24-Sep-2021 15:16:45 UTC)
def test_provider_import():
import terrascript.provider.camptocamp.freeipa
def test_resource_import():
from terrascript.resource.camptocamp.freeipa import freeipa_dns_record
from terrascript.resource.camptocamp.freeipa import freeipa_host
# 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.camptocamp.freeipa
#
# t = terrascript.provider.camptocamp.freeipa.freeipa()
# s = str(t)
#
# assert 'https://github.com/camptocamp/terraform-provider-freeipa' in s
# assert '0.7.0' in s