python-terrascript/tests/test_provider_timohirt_hetz...

31 lines
906 B
Python

# tests/test_provider_timohirt_hetznerdns.py
# Automatically generated by tools/makecode.py (24-Sep-2021 15:18:46 UTC)
def test_provider_import():
import terrascript.provider.timohirt.hetznerdns
def test_resource_import():
from terrascript.resource.timohirt.hetznerdns import hetznerdns_record
from terrascript.resource.timohirt.hetznerdns import hetznerdns_zone
def test_datasource_import():
from terrascript.data.timohirt.hetznerdns import hetznerdns_zone
# 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.timohirt.hetznerdns
#
# t = terrascript.provider.timohirt.hetznerdns.hetznerdns()
# s = str(t)
#
# assert 'https://github.com/timohirt/terraform-provider-hetznerdns' in s
# assert '1.1.1' in s