diff options
author | selias <samelias@cisco.com> | 2016-10-24 18:15:52 +0200 |
---|---|---|
committer | Peter Mikus <pmikus@cisco.com> | 2016-11-04 08:50:25 +0000 |
commit | 6bfae6634aa26c2e88dddf49d91245d880b0222b (patch) | |
tree | fb554021ff68a8d862b5252583f296e681525863 /resources/libraries/robot/honeycomb/sub_interface.robot | |
parent | b8fe6e5a6c0dc1f9972b7f3919041dedb1427cfd (diff) |
CSIT-457: Address Honeycomb test failures
- tag all not-implemented features with EXPECTED_FAILING
- add workarounds for known issues with VAT dump commands
- replace hardcoded test data with parametrized
- separate IP neighbor and IP address into two test cases
- support unordered lists with compare_data_structures keyword
Change-Id: I2c683162325cee720ba496489787fa50e9c72b8c
Signed-off-by: selias <samelias@cisco.com>
Diffstat (limited to 'resources/libraries/robot/honeycomb/sub_interface.robot')
-rw-r--r-- | resources/libraries/robot/honeycomb/sub_interface.robot | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/resources/libraries/robot/honeycomb/sub_interface.robot b/resources/libraries/robot/honeycomb/sub_interface.robot index e4844deabb..e9b8aeb008 100644 --- a/resources/libraries/robot/honeycomb/sub_interface.robot +++ b/resources/libraries/robot/honeycomb/sub_interface.robot @@ -68,6 +68,7 @@ | | ${api_data}= | interfaceAPI.Get sub interface oper data | | ... | ${node} | ${super_interface} | ${identifier} | | interfaceAPI.Compare Data Structures | ${api_data} | ${sub_if_settings} +| | ... | list_order=${False} | Sub-interface configuration from Honeycomb should be empty | | [Documentation] | Retrieves sub-interface configuration through Honeycomb \ @@ -84,7 +85,7 @@ | | ... | | [Arguments] | ${node} | ${super_interface} | ${identifier} | | ... -| | Run keyword and expect error | *KeyError: 'sub-interface'* +| | Run keyword and expect error | *KeyError: 'vpp-vlan:sub-interfaces'* | | ... | interfaceAPI.Get sub interface oper data | | ... | ${node} | ${super_interface} | ${identifier} @@ -389,7 +390,8 @@ | | [Arguments] | ${node} | ${super_if} | ${identifier} | ${settings} | | ${api_data}= | interfaceAPI.Get tag rewrite oper data | | ... | ${node} | ${super_if} | ${identifier} -| | interfaceAPI.Compare Data Structures | ${api_data} | ${settings} +| | interfaceAPI.Compare Data Structures +| | ... | ${api_data} | ${settings} | list_order=${False} | Rewrite tag from VAT should be | | [Documentation] | Retrieves sub-interface configuration through VAT and\ @@ -547,7 +549,7 @@ | | [Arguments] | ${node} | ${super_if} | ${identifier} | | ${if_data}= | interfaceAPI.Get sub interface oper data | | ... | ${node} | ${super_if} | ${identifier} -| | Run keyword and expect error | *KeyError: 'address'* +| | Run keyword and expect error | *KeyError: 'ipv4'* | | ... | Set Variable | ${if_data['ipv4']['address'][0]['ip']} | Sub-interface ipv4 address from VAT should be empty |