feat: initial otko import
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

This commit is contained in:
smillmorel 2026-09-08 02:12:15 -04:00
commit 612936a00b
540 changed files with 174136 additions and 0 deletions

View file

@ -0,0 +1,22 @@
"""Smoke test for the MainWindow.
Marked as ``gui`` so it can be deselected on environments without a display.
"""
from __future__ import annotations
import pytest
pytest.importorskip("PySide6")
pytest.importorskip("pyvistaqt")
@pytest.mark.gui
def test_main_window_opens(qtbot) -> None: # type: ignore[no-untyped-def]
from otko.views.main_window import MainWindow
window = MainWindow()
qtbot.addWidget(window)
window.show()
assert window.isVisible()
assert window.windowTitle() == "OTKO"