Fix stuff, apply ruff rules.

This commit is contained in:
2026-04-11 20:55:30 -04:00
parent b38d10575e
commit 09c03ad06a
26 changed files with 1466 additions and 30 deletions
@@ -0,0 +1,15 @@
"""Compatibility tests for the notification presenter."""
from __future__ import annotations
import pytest
from cthulhu import notification_presenter
@pytest.mark.unit
def test_get_presenter_alias_matches_legacy_get_presenter() -> None:
"""The Mako monitor still uses the legacy camelCase singleton accessor."""
assert notification_presenter.getPresenter is notification_presenter.get_presenter
assert notification_presenter.getPresenter() is notification_presenter.get_presenter()