Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
yakimka committed Jan 29, 2020
1 parent 8b10bb2 commit bc2fc79
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit bc2fc79

Please sign in to comment.