python-terrascript/tests/test_provider_paultyng_twit...

29 lines
842 B
Python

# tests/test_provider_paultyng_twitter.py
# Automatically generated by tools/makecode.py (24-Sep-2021 15:29:28 UTC)
def test_provider_import():
import terrascript.provider.paultyng.twitter
def test_resource_import():
from terrascript.resource.paultyng.twitter import twitter_block
from terrascript.resource.paultyng.twitter import twitter_list
from terrascript.resource.paultyng.twitter import twitter_mute
# 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.paultyng.twitter
#
# t = terrascript.provider.paultyng.twitter.twitter()
# s = str(t)
#
# assert 'https://github.com/paultyng/terraform-provider-twitter' in s
# assert '0.1.0' in s