python-terrascript/tests/test_provider_pmorillon_gri...

39 lines
1.2 KiB
Python

# tests/test_provider_pmorillon_grid5000.py
# Automatically generated by tools/makecode.py (24-Sep-2021 15:17:36 UTC)
def test_provider_import():
import terrascript.provider.pmorillon.grid5000
def test_resource_import():
from terrascript.resource.pmorillon.grid5000 import grid5000_ceph_pool
from terrascript.resource.pmorillon.grid5000 import grid5000_deployment
from terrascript.resource.pmorillon.grid5000 import grid5000_job
def test_datasource_import():
from terrascript.data.pmorillon.grid5000 import grid5000_ceph_auth
from terrascript.data.pmorillon.grid5000 import grid5000_node
from terrascript.data.pmorillon.grid5000 import grid5000_site
from terrascript.data.pmorillon.grid5000 import grid5000_vlan_nodelist
# 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.pmorillon.grid5000
#
# t = terrascript.provider.pmorillon.grid5000.grid5000()
# s = str(t)
#
# assert 'https://github.com/pmorillon/terraform-provider-grid5000' in s
# assert '0.0.7' in s