gradio-ttw-api / tests /test_gradio_ttw_api.py
freemt
first commit
3d7a5a6
raw
history blame contribute delete
353 Bytes
"""Test gradio_ttw_api."""
# pylint: disable=broad-except
from gradio_ttw_api import __version__
from gradio_ttw_api import gradio_ttw_api
def test_version():
"""Test version."""
assert __version__[:3] == "0.1"
def test_sanity():
"""Check sanity."""
try:
assert not gradio_ttw_api()
except Exception:
assert True