mirror of
https://github.com/jeertmans/manim-slides.git
synced 2025-05-21 04:26:40 +08:00

* chore(tests): adding tests for Qt widgets * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * fix: reset WINDOW name * chore(tests): addign tests * chore: adding more tests * fix how bin existence is checked * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * fix: which takes str * more tests! * todo: fix * change verbosity in tests --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
15 lines
253 B
Python
15 lines
253 B
Python
from PySide6.QtWidgets import QApplication
|
|
|
|
from manim_slides.qt_utils import qapp
|
|
|
|
|
|
def test_qapp() -> None:
|
|
assert isinstance(qapp(), QApplication)
|
|
|
|
|
|
def test_duplicated_qapp() -> None:
|
|
app1 = qapp()
|
|
app2 = qapp()
|
|
|
|
assert app1 == app2
|