otko/tests/unit/test_smoke.py

17 lines
428 B
Python
Raw Normal View History

2026-09-08 02:12:15 -04:00
"""Smoke tests — verify the package imports and exposes its version."""
from __future__ import annotations
import otko
def test_version_exposed() -> None:
assert isinstance(otko.__version__, str)
assert otko.__version__.count(".") >= 2
def test_app_module_importable() -> None:
"""The bootstrap module must import without instantiating QApplication."""
from otko import app
assert callable(app.run)