mirror of
https://github.com/arcan1s/ahriman.git
synced 2025-04-24 07:17:17 +00:00
* add status route * typed status and get status at the start of application
9 lines
278 B
Python
9 lines
278 B
Python
from ahriman.models.internal_status import InternalStatus
|
|
|
|
|
|
def test_internal_status_from_json_view(internal_status: InternalStatus) -> None:
|
|
"""
|
|
must construct same object from json
|
|
"""
|
|
assert InternalStatus.from_json(internal_status.view()) == internal_status
|