55 lines
1.7 KiB
Python
55 lines
1.7 KiB
Python
# tests/test_provider_onelogin_onelogin.py
|
|
# Automatically generated by tools/makecode.py (24-Sep-2021 15:23:37 UTC)
|
|
|
|
|
|
def test_provider_import():
|
|
import terrascript.provider.onelogin.onelogin
|
|
|
|
|
|
def test_resource_import():
|
|
from terrascript.resource.onelogin.onelogin import onelogin_app_role_attachments
|
|
|
|
from terrascript.resource.onelogin.onelogin import onelogin_app_rules
|
|
|
|
from terrascript.resource.onelogin.onelogin import onelogin_apps
|
|
|
|
from terrascript.resource.onelogin.onelogin import onelogin_auth_servers
|
|
|
|
from terrascript.resource.onelogin.onelogin import onelogin_oidc_apps
|
|
|
|
from terrascript.resource.onelogin.onelogin import onelogin_privileges
|
|
|
|
from terrascript.resource.onelogin.onelogin import onelogin_roles
|
|
|
|
from terrascript.resource.onelogin.onelogin import onelogin_saml_apps
|
|
|
|
from terrascript.resource.onelogin.onelogin import (
|
|
onelogin_smarthook_environment_variables,
|
|
)
|
|
|
|
from terrascript.resource.onelogin.onelogin import onelogin_smarthooks
|
|
|
|
from terrascript.resource.onelogin.onelogin import onelogin_user_mappings
|
|
|
|
from terrascript.resource.onelogin.onelogin import onelogin_users
|
|
|
|
|
|
def test_datasource_import():
|
|
from terrascript.data.onelogin.onelogin import onelogin_user
|
|
|
|
from terrascript.data.onelogin.onelogin import onelogin_users
|
|
|
|
|
|
# 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.onelogin.onelogin
|
|
#
|
|
# t = terrascript.provider.onelogin.onelogin.onelogin()
|
|
# s = str(t)
|
|
#
|
|
# assert 'https://github.com/onelogin/terraform-provider-onelogin' in s
|
|
# assert '0.1.23' in s
|