python-terrascript/tests/test_provider_ddelnano_mikr...

37 lines
1.1 KiB
Python

# tests/test_provider_ddelnano_mikrotik.py
# Automatically generated by tools/makecode.py (24-Sep-2021 15:21:43 UTC)
def test_provider_import():
import terrascript.provider.ddelnano.mikrotik
def test_resource_import():
from terrascript.resource.ddelnano.mikrotik import mikrotik_bgp_instance
from terrascript.resource.ddelnano.mikrotik import mikrotik_bgp_peer
from terrascript.resource.ddelnano.mikrotik import mikrotik_dhcp_lease
from terrascript.resource.ddelnano.mikrotik import mikrotik_dns_record
from terrascript.resource.ddelnano.mikrotik import mikrotik_pool
from terrascript.resource.ddelnano.mikrotik import mikrotik_scheduler
from terrascript.resource.ddelnano.mikrotik import mikrotik_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.ddelnano.mikrotik
#
# t = terrascript.provider.ddelnano.mikrotik.mikrotik()
# s = str(t)
#
# assert 'https://github.com/ddelnano/terraform-provider-mikrotik' in s
# assert '0.8.0' in s