File size: 353 Bytes
3d7a5a6
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
"""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