otko/tests/unit/test_smoke.py
smillmorel 612936a00b
Some checks failed
CI / lint (push) Has been cancelled
CI / test (macos-latest, 3.10) (push) Has been cancelled
CI / test (macos-latest, 3.11) (push) Has been cancelled
CI / test (macos-latest, 3.12) (push) Has been cancelled
CI / test (ubuntu-latest, 3.10) (push) Has been cancelled
CI / test (ubuntu-latest, 3.11) (push) Has been cancelled
CI / test (ubuntu-latest, 3.12) (push) Has been cancelled
CI / test (windows-latest, 3.10) (push) Has been cancelled
CI / test (windows-latest, 3.11) (push) Has been cancelled
CI / test (windows-latest, 3.12) (push) Has been cancelled
feat: initial otko import
2026-09-08 02:12:15 -04:00

17 lines
428 B
Python

"""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)