From 8c1bb6ac0c8253ee203d120c1a8f035c47293d9e Mon Sep 17 00:00:00 2001 From: selias Date: Fri, 24 Mar 2017 17:35:30 +0100 Subject: HC Test: address and cleanup test failures Change-Id: If3c570dbc5036915fdc68ade7a9ccc45ad21299e Signed-off-by: selias --- resources/libraries/robot/honeycomb/access_control_lists.robot | 2 +- resources/libraries/robot/honeycomb/lisp.robot | 7 ++----- 2 files changed, 3 insertions(+), 6 deletions(-) (limited to 'resources/libraries/robot') diff --git a/resources/libraries/robot/honeycomb/access_control_lists.robot b/resources/libraries/robot/honeycomb/access_control_lists.robot index a62ea0f2e8..e35cc92952 100644 --- a/resources/libraries/robot/honeycomb/access_control_lists.robot +++ b/resources/libraries/robot/honeycomb/access_control_lists.robot @@ -225,7 +225,7 @@ | | ... | \| ACL session from Honeycomb should not exist \| ${nodes['DUT1']} \ | | ... | \| table0 \| 00:00:00:00:00:00:01:02:03:04:05:06:00:00:00:00 \| | | [Arguments] | ${node} | ${table_name} | ${session_match} -| | Run keyword and expect error | *HoneycombError: *Status code: 404. +| | Run keyword and expect error | *KeyError:* | | ... | Get classify session oper data | | ... | ${node} | ${table_name} | ${session_match} diff --git a/resources/libraries/robot/honeycomb/lisp.robot b/resources/libraries/robot/honeycomb/lisp.robot index f490769c6f..e1d69ed316 100644 --- a/resources/libraries/robot/honeycomb/lisp.robot +++ b/resources/libraries/robot/honeycomb/lisp.robot @@ -77,11 +77,8 @@ | | ... | \| Lisp should not be configured \| ${nodes['DUT1']} \| | | [Arguments] | ${node} | | ... -| | ${data}= | Get Lisp operational data | ${node} -| | Should be equal as strings | ${data['lisp-state']['enable']} | False -| | ${data}= | Set Variable | ${data['lisp-state']['lisp-feature-data']} -| | Should match | ${data['pitr-cfg']['locator-set']} | N/A -| | Variable should not exist | ${data['eid-table']['vni-table'][0]} +| | Run keyword and Expect Error | KeyError: 'lisp-feature-data' +| | ... | Get Lisp operational data | ${node} | Lisp state From Honeycomb Should Be | | [Documentation] | Retrieves Lisp state from Honeycomb operational\ -- cgit 1.2.3-korg