python-terrascript/tests/test_provider_invidian_libv...

45 lines
1.3 KiB
Python

# tests/test_provider_invidian_libvirt.py
# Automatically generated by tools/makecode.py (24-Sep-2021 15:21:04 UTC)
def test_provider_import():
import terrascript.provider.invidian.libvirt
def test_resource_import():
from terrascript.resource.invidian.libvirt import libvirt_cloudinit_disk
from terrascript.resource.invidian.libvirt import libvirt_domain
from terrascript.resource.invidian.libvirt import libvirt_ignition
from terrascript.resource.invidian.libvirt import libvirt_network
from terrascript.resource.invidian.libvirt import libvirt_pool
from terrascript.resource.invidian.libvirt import libvirt_volume
def test_datasource_import():
from terrascript.data.invidian.libvirt import libvirt_network_dns_host_template
from terrascript.data.invidian.libvirt import libvirt_network_dns_srv_template
from terrascript.data.invidian.libvirt import (
libvirt_network_dnsmasq_options_template,
)
# 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.invidian.libvirt
#
# t = terrascript.provider.invidian.libvirt.libvirt()
# s = str(t)
#
# assert 'https://github.com/invidian/terraform-provider-libvirt' in s
# assert '0.6.10-rc1' in s