From bc2fc797925828338fdef70570d7253241f1b25a Mon Sep 17 00:00:00 2001 From: yakimka Date: Thu, 30 Jan 2020 01:18:52 +0200 Subject: [PATCH] Fix tests --- tests/conftest.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/conftest.py b/tests/conftest.py index 87fc634..0fd40c0 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -38,8 +38,8 @@ def settings(mock_qsettings): @pytest.fixture def tomato(settings, monkeypatch, mocker): monkeypatch.setattr(TomatoTimer, 'TICK_TIME', 64) - mocker.patch('CherryTomato.tomato_timer.settings', settings) tomato = TomatoTimer() + tomato.settings = settings return tomato