fixing tests

This commit is contained in:
Mose Müller 2023-08-02 12:06:22 +02:00
parent f446c0b1d2
commit 6c15b85679

View File

@ -1,5 +1,5 @@
from collections.abc import Generator
from typing import Any, cast
from typing import Any
import pytest
from loguru import logger
@ -23,4 +23,4 @@ def emit(self: Any, parent_path: str, name: str, value: Any) -> None:
print(f"{parent_path}.{name} = {value}")
cast(CallbackManager, DataService._callback_manager).emit_notification = emit # type: ignore
CallbackManager.emit_notification = emit # type: ignore