mirror of
https://github.com/arcan1s/ahriman.git
synced 2025-08-26 19:39:57 +00:00
feat: implement local reporter mode (#126)
* implement local reporter mode * simplify watcher class * review changes * do not update unknown status * allow empty key patches via api * fix some pylint warnings in tests
This commit is contained in:
@ -0,0 +1,9 @@
|
||||
from ahriman.models.dependencies import Dependencies
|
||||
|
||||
|
||||
def test_from_json_view() -> None:
|
||||
"""
|
||||
must construct and serialize dependencies to json
|
||||
"""
|
||||
dependencies = Dependencies({"/usr/bin/python3": ["python"]})
|
||||
assert Dependencies.from_json(dependencies.view()) == dependencies
|
||||
|
Reference in New Issue
Block a user