polyglot-tutor / tests /test_app.py
blizzarman's picture
feat: M0 walking skeleton (app, service protocols, CI/CD, Space deploy)
00d5ae5
Raw
History Blame Contribute Delete
277 Bytes
import gradio as gr
from tutor.app.main import build_app
from tutor.config import Settings
def test_build_app_with_fake_provider() -> None:
settings = Settings(_env_file=None) # type: ignore[call-arg]
app = build_app(settings)
assert isinstance(app, gr.Blocks)