45 lines
1.2 KiB
Python
45 lines
1.2 KiB
Python
# tests/test_provider_mildred_sys.py
|
|
# Automatically generated by tools/makecode.py (24-Sep-2021 15:28:08 UTC)
|
|
|
|
|
|
def test_provider_import():
|
|
import terrascript.provider.mildred.sys
|
|
|
|
|
|
def test_resource_import():
|
|
from terrascript.resource.mildred.sys import sys_dir
|
|
|
|
from terrascript.resource.mildred.sys import sys_file
|
|
|
|
from terrascript.resource.mildred.sys import sys_null
|
|
|
|
from terrascript.resource.mildred.sys import sys_package
|
|
|
|
from terrascript.resource.mildred.sys import sys_shell_script
|
|
|
|
from terrascript.resource.mildred.sys import sys_symlink
|
|
|
|
from terrascript.resource.mildred.sys import sys_systemd_unit
|
|
|
|
|
|
def test_datasource_import():
|
|
from terrascript.data.mildred.sys import sys_error
|
|
|
|
from terrascript.data.mildred.sys import sys_file
|
|
|
|
from terrascript.data.mildred.sys import sys_shell_script
|
|
|
|
|
|
# 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.mildred.sys
|
|
#
|
|
# t = terrascript.provider.mildred.sys.sys()
|
|
# s = str(t)
|
|
#
|
|
# assert 'https://github.com/mildred/terraform-provider-sys' in s
|
|
# assert '1.3.25' in s
|