47 lines
1.5 KiB
Python
47 lines
1.5 KiB
Python
# tests/test_provider_Ouest-France_phpipam.py
|
|
# Automatically generated by tools/makecode.py (24-Sep-2021 15:24:28 UTC)
|
|
|
|
|
|
def test_provider_import():
|
|
import terrascript.provider.Ouest_France.phpipam
|
|
|
|
|
|
def test_resource_import():
|
|
from terrascript.resource.Ouest_France.phpipam import phpipam_address
|
|
|
|
from terrascript.resource.Ouest_France.phpipam import phpipam_section
|
|
|
|
from terrascript.resource.Ouest_France.phpipam import phpipam_subnet
|
|
|
|
from terrascript.resource.Ouest_France.phpipam import phpipam_vlan
|
|
|
|
|
|
def test_datasource_import():
|
|
from terrascript.data.Ouest_France.phpipam import phpipam_address
|
|
|
|
from terrascript.data.Ouest_France.phpipam import phpipam_addresses
|
|
|
|
from terrascript.data.Ouest_France.phpipam import phpipam_first_free_address
|
|
|
|
from terrascript.data.Ouest_France.phpipam import phpipam_section
|
|
|
|
from terrascript.data.Ouest_France.phpipam import phpipam_subnet
|
|
|
|
from terrascript.data.Ouest_France.phpipam import phpipam_subnets
|
|
|
|
from terrascript.data.Ouest_France.phpipam import phpipam_vlan
|
|
|
|
|
|
# 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.Ouest_France.phpipam
|
|
#
|
|
# t = terrascript.provider.Ouest_France.phpipam.phpipam()
|
|
# s = str(t)
|
|
#
|
|
# assert 'https://github.com/Ouest-France/terraform-provider-phpipam' in s
|
|
# assert '0.6.0' in s
|