101 lines
3.3 KiB
Python
101 lines
3.3 KiB
Python
# tests/test_provider_ellisdon-oss_azuredevops.py
|
|
# Automatically generated by tools/makecode.py (24-Sep-2021 15:13:00 UTC)
|
|
|
|
|
|
def test_provider_import():
|
|
import terrascript.provider.ellisdon_oss.azuredevops
|
|
|
|
|
|
def test_resource_import():
|
|
from terrascript.resource.ellisdon_oss.azuredevops import (
|
|
azuredevops_build_definition,
|
|
)
|
|
|
|
from terrascript.resource.ellisdon_oss.azuredevops import azuredevops_extension
|
|
|
|
from terrascript.resource.ellisdon_oss.azuredevops import azuredevops_project
|
|
|
|
from terrascript.resource.ellisdon_oss.azuredevops import (
|
|
azuredevops_release_definition,
|
|
)
|
|
|
|
from terrascript.resource.ellisdon_oss.azuredevops import (
|
|
azuredevops_release_environment,
|
|
)
|
|
|
|
from terrascript.resource.ellisdon_oss.azuredevops import azuredevops_release_task
|
|
|
|
from terrascript.resource.ellisdon_oss.azuredevops import azuredevops_release_tasks
|
|
|
|
from terrascript.resource.ellisdon_oss.azuredevops import (
|
|
azuredevops_release_variables,
|
|
)
|
|
|
|
from terrascript.resource.ellisdon_oss.azuredevops import (
|
|
azuredevops_service_endpoint,
|
|
)
|
|
|
|
from terrascript.resource.ellisdon_oss.azuredevops import azuredevops_service_hook
|
|
|
|
from terrascript.resource.ellisdon_oss.azuredevops import azuredevops_task_group
|
|
|
|
from terrascript.resource.ellisdon_oss.azuredevops import azuredevops_variable_group
|
|
|
|
|
|
def test_datasource_import():
|
|
from terrascript.data.ellisdon_oss.azuredevops import azuredevops_agent_queue
|
|
|
|
from terrascript.data.ellisdon_oss.azuredevops import azuredevops_build_definition
|
|
|
|
from terrascript.data.ellisdon_oss.azuredevops import azuredevops_group
|
|
|
|
from terrascript.data.ellisdon_oss.azuredevops import azuredevops_project
|
|
|
|
from terrascript.data.ellisdon_oss.azuredevops import azuredevops_release_definition
|
|
|
|
from terrascript.data.ellisdon_oss.azuredevops import (
|
|
azuredevops_release_definition_environments,
|
|
)
|
|
|
|
from terrascript.data.ellisdon_oss.azuredevops import (
|
|
azuredevops_release_definitions,
|
|
)
|
|
|
|
from terrascript.data.ellisdon_oss.azuredevops import (
|
|
azuredevops_release_environment,
|
|
)
|
|
|
|
from terrascript.data.ellisdon_oss.azuredevops import (
|
|
azuredevops_release_stage_variables,
|
|
)
|
|
|
|
from terrascript.data.ellisdon_oss.azuredevops import azuredevops_release_tasks
|
|
|
|
from terrascript.data.ellisdon_oss.azuredevops import azuredevops_service_endpoint
|
|
|
|
from terrascript.data.ellisdon_oss.azuredevops import azuredevops_source_repository
|
|
|
|
from terrascript.data.ellisdon_oss.azuredevops import azuredevops_task_group
|
|
|
|
from terrascript.data.ellisdon_oss.azuredevops import azuredevops_user
|
|
|
|
from terrascript.data.ellisdon_oss.azuredevops import azuredevops_variable_group
|
|
|
|
from terrascript.data.ellisdon_oss.azuredevops import azuredevops_variable_groups
|
|
|
|
from terrascript.data.ellisdon_oss.azuredevops import azuredevops_workflow_task
|
|
|
|
|
|
# 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.ellisdon_oss.azuredevops
|
|
#
|
|
# t = terrascript.provider.ellisdon_oss.azuredevops.azuredevops()
|
|
# s = str(t)
|
|
#
|
|
# assert 'https://github.com/ellisdon-oss/terraform-provider-azuredevops' in s
|
|
# assert '0.0.2' in s
|