aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorBrianna Rainey2026-01-22 21:53:26 -0500
committerBrianna Rainey2026-01-22 21:53:26 -0500
commit864898419e810055b51e3a32fccb00a62aab9a6b (patch)
tree1eb6d03e3ef429e9d318bf0dff15c92c179421d0 /tests
parent0a521106c4f57a7a198e8238ad9bf6772c4e23b5 (diff)
add GitHub Action to run tests
Diffstat (limited to 'tests')
-rw-r--r--tests/test_text_comp.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/test_text_comp.py b/tests/test_text_comp.py
index 3bc0be6..23dd1fd 100644
--- a/tests/test_text_comp.py
+++ b/tests/test_text_comp.py
@@ -1,4 +1,5 @@
from avp.command import Command
+from PyQt6.QtGui import QFont
from pytestqt import qtbot
from pytest import fixture
from . import audioData, MockSignal, imageDataSum
@@ -18,6 +19,7 @@ def test_comp_text_renderFrame_resize(coreWithTextComp):
comp.parent.settings.setValue("outputWidth", 1920)
comp.parent.settings.setValue("outputHeight", 1080)
comp.parent.core.updateComponent(0)
+ comp.titleFont = QFont("Noto Sans")
image = comp.frameRender(0)
assert imageDataSum(image) == 2957069