docs: update booleans in docs

This commit is contained in:
2024-08-26 23:32:02 +03:00
parent 264aeb7150
commit 950b9e4289
39 changed files with 75 additions and 72 deletions

View File

@ -3,9 +3,9 @@ from ahriman.models.event import Event, EventType
def test_post_init() -> None:
"""
must remove replace empty dictionary
must replace event type for known types
"""
assert Event("", "").data == {}
assert Event("random", "")
assert isinstance(Event(str(EventType.PackageUpdated), "").event, EventType)