Fix tests
Some checks failed
CI / test (push) Failing after 5m4s
Lint / test (push) Successful in 31s
Trivy / test (push) Successful in 22s

This commit is contained in:
Miguel Jacq 2025-12-01 10:34:58 +11:00
parent 535a380616
commit 23b6ce62a3
Signed by: mig5
GPG key ID: 59B3F0C24135C6A9
2 changed files with 2 additions and 34 deletions

View file

@ -1,5 +1,6 @@
from unittest.mock import Mock, patch
from bouquin.pomodoro_timer import PomodoroTimer, PomodoroManager
from bouquin.theme import ThemeManager, ThemeConfig, Theme
def test_pomodoro_timer_init(qtbot, app, fresh_db):
@ -277,6 +278,7 @@ def test_pomodoro_manager_timer_stopped_signal_connection(
from PySide6.QtWidgets import QWidget
parent = QWidget()
parent.themes = ThemeManager(app, ThemeConfig(theme=Theme.LIGHT))
qtbot.addWidget(parent)
manager = PomodoroManager(fresh_db, parent)