49 lines
1.5 KiB
Python
49 lines
1.5 KiB
Python
# tests/test_provider_davidji99_rollbar.py
|
|
# Automatically generated by tools/makecode.py (24-Sep-2021 15:25:56 UTC)
|
|
|
|
|
|
def test_provider_import():
|
|
import terrascript.provider.davidji99.rollbar
|
|
|
|
|
|
def test_resource_import():
|
|
from terrascript.resource.davidji99.rollbar import rollbar_pagerduty_integration
|
|
|
|
from terrascript.resource.davidji99.rollbar import (
|
|
rollbar_pagerduty_notification_rule,
|
|
)
|
|
|
|
from terrascript.resource.davidji99.rollbar import rollbar_project
|
|
|
|
from terrascript.resource.davidji99.rollbar import rollbar_project_access_token
|
|
|
|
from terrascript.resource.davidji99.rollbar import rollbar_team
|
|
|
|
from terrascript.resource.davidji99.rollbar import rollbar_team_project_association
|
|
|
|
from terrascript.resource.davidji99.rollbar import rollbar_team_user_association
|
|
|
|
|
|
def test_datasource_import():
|
|
from terrascript.data.davidji99.rollbar import rollbar_project
|
|
|
|
from terrascript.data.davidji99.rollbar import rollbar_project_access_tokens
|
|
|
|
from terrascript.data.davidji99.rollbar import rollbar_team
|
|
|
|
from terrascript.data.davidji99.rollbar import rollbar_user
|
|
|
|
|
|
# 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.davidji99.rollbar
|
|
#
|
|
# t = terrascript.provider.davidji99.rollbar.rollbar()
|
|
# s = str(t)
|
|
#
|
|
# assert 'https://github.com/davidji99/terraform-provider-rollbar' in s
|
|
# assert '1.5.1' in s
|