mirror of
https://github.com/arcan1s/ahriman.git
synced 2026-10-13 08:40:29 +00:00
fix update handler tests
If daemon tests are run before the update handler it causes test failure, because there are other calls
This commit is contained in:
1 parent
09678a3ae1
commit
3d98dd267a
1 file changed
+1
-1
@@ -108,4 +108,4 @@ def test_log_fn(application: Application, mocker: MockerFixture) -> None:
|
||||
"""
|
||||
logger_mock = mocker.patch("logging.Logger.info")
|
||||
Update.log_fn(application, False)("hello")
|
||||
logger_mock.assert_called_once_with("hello")
|
||||
logger_mock.assert_has_calls([mock.call("hello")])
|
||||
Reference in new issue
Block a user