Do not check status code for empty inventory 26/80126/1
authorLuis Gomez <ecelgp@gmail.com>
Sun, 3 Feb 2019 21:37:06 +0000 (13:37 -0800)
committerLuis Gomez <ecelgp@gmail.com>
Sun, 3 Feb 2019 21:37:06 +0000 (13:37 -0800)
Since Neon it returns 404.

Change-Id: I93df691d925fb1891c3a63cf2388c633001f9299
Signed-off-by: Luis Gomez <ecelgp@gmail.com>
csit/libraries/FlowLib.robot

index 3c27fe66c42e827c7712bc631d6f90c95815dca6..399789d13ff24136b93ef11c8dfd50b14bebf023 100644 (file)
@@ -18,7 +18,6 @@ Check No Switches In Inventory
     [Documentation]    Check no switch is in inventory
     ${resp}    RequestsLibrary.Get Request    session    ${OPERATIONAL_NODES_API}
     Log    ${resp.content}
-    Should Be Equal As Strings    ${resp.status_code}    200
     : FOR    ${switch}    IN RANGE    1    ${switches+1}
     \    Should Not Contain    ${resp.content}    "openflow:${switch}"