<filename>resotocore/tests/resotocore/analytics/__init__.py
from pytest import fixture

from resotocore.analytics import AnalyticsEventSender, NoEventSender, AnalyticsEvent, InMemoryEventSender


@fixture
def event_sender() -> InMemoryEventSender:
    return InMemoryEventSender()

<filename>resotocore/tests/resotocore/analytics/__init__.py
from pytest import fixture

from resotocore.analytics import AnalyticsEventSender, NoEventSender, AnalyticsEvent, InMemoryEventSender


@fixture
def event_sender() -> InMemoryEventSender:
    return InMemoryEventSender()
