diff options
author | selias <samelias@cisco.com> | 2016-12-09 18:11:53 +0100 |
---|---|---|
committer | selias <samelias@cisco.com> | 2016-12-16 12:13:53 +0100 |
commit | 1813672eb9f6988046bc65167235ae37b088298c (patch) | |
tree | a6850005d93098cfe84bf13e0b40ddf702ecfbf4 /resources/libraries/robot/honeycomb/interfaces.robot | |
parent | cf561a6e3d4c4fbd78ab6c9d0a9aa817bb3300fc (diff) |
CSIT-424: HC Test: JSON comparison function rework
When comparing multi-level JSON trees, the exceptions raised
carry more useful information.
Keys and values not present in reference data are ignored.
No longer puts chunks of honeycomb's log file into robot report. The
entire log file will be archived after https://gerrit.fd.io/r/4171
Change-Id: Ib597080fa3d9b2c43463c76ee0d52f317ea072e7
Signed-off-by: selias <samelias@cisco.com>
Diffstat (limited to 'resources/libraries/robot/honeycomb/interfaces.robot')
-rw-r--r-- | resources/libraries/robot/honeycomb/interfaces.robot | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/resources/libraries/robot/honeycomb/interfaces.robot b/resources/libraries/robot/honeycomb/interfaces.robot index 027b7d74a3..765aaef7c0 100644 --- a/resources/libraries/robot/honeycomb/interfaces.robot +++ b/resources/libraries/robot/honeycomb/interfaces.robot @@ -235,7 +235,7 @@ | | ${api_data}= | interfaceAPI.Get interface oper data | ${node} | ${interface} | | ${data_neighbors}= | Set Variable | ${api_data['ietf-ip:ipv4']['neighbor']} | | Compare data structures -| | ... | ${data_neighbors} | ${neighbors} | list_order=${False} +| | ... | ${data_neighbors} | ${neighbors} | | Should be equal | ${neighbor['fib_address']} | | ... | ${api_data['ietf-ip:ipv4']['neighbor'][0]['ip']} | | Should be equal | ${neighbor['fib_mac']} |