You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
From what I can tell after an admittedly brief look, it seems that only config data can be passed into the jsnapy Python API.
Would be nice to also be able to pass in test data as a dictionary, so I don't have to create any files at all when interacting at the Python level only
The text was updated successfully, but these errors were encountered:
test_is_equal="""
test_interfaces_terse:
- command: show interfaces terse lo*
- iterate:
id: ./name
xpath: //physical-interface
tests:
- is-equal: admin-status, up
info: "Test Succeeded !! admin-status of interface <{{post['name']}}> is equal to <{{post['admin-status']}}> with oper-status <{{ pre['oper-status'] }}>"
err: "Test Failed !! admin-status of interface <{{ post['name'] }}> is not equal to down, it is <{{post['admin-status']}}> with oper-status <{{pre['oper-status']}}>"
"""
From what I can tell after an admittedly brief look, it seems that only config data can be passed into the jsnapy Python API.
Would be nice to also be able to pass in test data as a dictionary, so I don't have to create any files at all when interacting at the Python level only
The text was updated successfully, but these errors were encountered: