mirror of
https://github.com/arcan1s/ahriman.git
synced 2025-06-28 06:41:43 +00:00
docs: update booleans in docs
This commit is contained in:
@ -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)
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user