65 lines
2.1 KiB
Python
65 lines
2.1 KiB
Python
# tests/test_provider_cappyzawa_artifactory.py
|
|
# Automatically generated by tools/makecode.py (24-Sep-2021 15:11:58 UTC)
|
|
|
|
|
|
def test_provider_import():
|
|
import terrascript.provider.cappyzawa.artifactory
|
|
|
|
|
|
def test_resource_import():
|
|
from terrascript.resource.cappyzawa.artifactory import artifactory_access_token
|
|
|
|
from terrascript.resource.cappyzawa.artifactory import artifactory_api_key
|
|
|
|
from terrascript.resource.cappyzawa.artifactory import artifactory_certificate
|
|
|
|
from terrascript.resource.cappyzawa.artifactory import artifactory_group
|
|
|
|
from terrascript.resource.cappyzawa.artifactory import artifactory_local_repository
|
|
|
|
from terrascript.resource.cappyzawa.artifactory import artifactory_permission_target
|
|
|
|
from terrascript.resource.cappyzawa.artifactory import (
|
|
artifactory_permission_targets,
|
|
)
|
|
|
|
from terrascript.resource.cappyzawa.artifactory import artifactory_remote_repository
|
|
|
|
from terrascript.resource.cappyzawa.artifactory import (
|
|
artifactory_replication_config,
|
|
)
|
|
|
|
from terrascript.resource.cappyzawa.artifactory import (
|
|
artifactory_single_replication_config,
|
|
)
|
|
|
|
from terrascript.resource.cappyzawa.artifactory import artifactory_user
|
|
|
|
from terrascript.resource.cappyzawa.artifactory import (
|
|
artifactory_virtual_repository,
|
|
)
|
|
|
|
from terrascript.resource.cappyzawa.artifactory import artifactory_xray_policy
|
|
|
|
from terrascript.resource.cappyzawa.artifactory import artifactory_xray_watch
|
|
|
|
|
|
def test_datasource_import():
|
|
from terrascript.data.cappyzawa.artifactory import artifactory_file
|
|
|
|
from terrascript.data.cappyzawa.artifactory import artifactory_fileinfo
|
|
|
|
|
|
# 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.cappyzawa.artifactory
|
|
#
|
|
# t = terrascript.provider.cappyzawa.artifactory.artifactory()
|
|
# s = str(t)
|
|
#
|
|
# assert 'https://github.com/cappyzawa/terraform-provider-artifactory' in s
|
|
# assert '2.2.15' in s
|