python-terrascript/tests/test_provider_yaegashi_msgr...

39 lines
1.1 KiB
Python

# tests/test_provider_yaegashi_msgraph.py
# Automatically generated by tools/makecode.py (24-Sep-2021 15:21:54 UTC)
def test_provider_import():
import terrascript.provider.yaegashi.msgraph
def test_resource_import():
from terrascript.resource.yaegashi.msgraph import msgraph_application
from terrascript.resource.yaegashi.msgraph import msgraph_application_password
from terrascript.resource.yaegashi.msgraph import msgraph_group
from terrascript.resource.yaegashi.msgraph import msgraph_group_member
from terrascript.resource.yaegashi.msgraph import msgraph_user
def test_datasource_import():
from terrascript.data.yaegashi.msgraph import msgraph_group
from terrascript.data.yaegashi.msgraph import msgraph_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.yaegashi.msgraph
#
# t = terrascript.provider.yaegashi.msgraph.msgraph()
# s = str(t)
#
# assert 'https://github.com/yaegashi/terraform-provider-msgraph' in s
# assert '0.0.5' in s