python-terrascript/tests/test_provider_techBeck03_ad.py

51 lines
1.4 KiB
Python

# tests/test_provider_techBeck03_ad.py
# Automatically generated by tools/makecode.py (24-Sep-2021 15:11:01 UTC)
def test_provider_import():
import terrascript.provider.techBeck03.ad
def test_resource_import():
from terrascript.resource.techBeck03.ad import ad_computer
from terrascript.resource.techBeck03.ad import ad_gplink
from terrascript.resource.techBeck03.ad import ad_gpo
from terrascript.resource.techBeck03.ad import ad_gpo_security
from terrascript.resource.techBeck03.ad import ad_group
from terrascript.resource.techBeck03.ad import ad_group_membership
from terrascript.resource.techBeck03.ad import ad_ou
from terrascript.resource.techBeck03.ad import ad_user
def test_datasource_import():
from terrascript.data.techBeck03.ad import ad_computer
from terrascript.data.techBeck03.ad import ad_gpo
from terrascript.data.techBeck03.ad import ad_group
from terrascript.data.techBeck03.ad import ad_ou
from terrascript.data.techBeck03.ad import ad_user
# 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.techBeck03.ad
#
# t = terrascript.provider.techBeck03.ad.ad()
# s = str(t)
#
# assert 'https://github.com/techBeck03/terraform-provider-ad' in s
# assert '0.4.3-patch' in s