Fix stuff, apply ruff rules.
This commit is contained in:
@@ -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()
|
||||
Reference in New Issue
Block a user