mirror of
https://github.com/arcan1s/ahriman.git
synced 2026-10-13 16:42:16 +00:00
docs: update booleans in docs
This commit is contained in:
1 parent
5163aa4dca
commit
c08a292070
39 files changed
+75
-72
No files matched your search
@@ -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