diff options
Diffstat (limited to 'anta/result_manager/__init__.py')
-rw-r--r-- | anta/result_manager/__init__.py | 24 |
1 files changed, 15 insertions, 9 deletions
diff --git a/anta/result_manager/__init__.py b/anta/result_manager/__init__.py index 9e1f6ae..b367965 100644 --- a/anta/result_manager/__init__.py +++ b/anta/result_manager/__init__.py @@ -48,19 +48,25 @@ class ResultManager: manager.results [ TestResult( - host=IPv4Address('192.168.0.10'), - test='VerifyNTP', - result='failure', - message="device is not running NTP correctly" + name="pf1", + test="VerifyZeroTouch", + categories=["configuration"], + description="Verifies ZeroTouch is disabled", + result="success", + messages=[], + custom_field=None, ), TestResult( - host=IPv4Address('192.168.0.10'), - test='VerifyEOSVersion', - result='success', - message=None + name="pf1", + test='VerifyNTP', + categories=["software"], + categories=['system'], + description='Verifies if NTP is synchronised.', + result='failure', + messages=["The device is not synchronized with the configured NTP server(s): 'NTP is disabled.'"], + custom_field=None, ), ] - """ def __init__(self) -> None: |