bmcweb service root interface
Changes:
- Library to return response as it is back to the test.
- Added code to disable warning and REST response code.
- New test suite to verify service root interface.
Added Test Cases:
- Login And Logout BMCweb
- GET BMCweb Hypermedia Without Login
- GET SessionService Resource With Login
- GET SessionService Without Login
- Login Using Invalid Token
- Delete Session Using Valid login
Tested: Using latest OpenBMC master build.
Resolves openbmc/openbmc-test-automation#1502
Change-Id: I24bbbd8d6c32371f28060275140bbeaf18d3414d
Signed-off-by: George Keishing <gkeishin@in.ibm.com>
diff --git a/lib/bmc_redfish_resource.robot b/lib/bmc_redfish_resource.robot
index a0e2c3f..ba5d852 100644
--- a/lib/bmc_redfish_resource.robot
+++ b/lib/bmc_redfish_resource.robot
@@ -1,8 +1,10 @@
*** Settings ***
Documentation BMC redfish resource keyword.
-Library ../lib/bmc_redfish.py
+Library bmc_redfish.py
... ${OPENBMC_HOST} ${OPENBMC_USERNAME} ${OPENBMC_PASSWORD}
-... WITH NAME redfish
+... WITH NAME redfish
+Resource rest_response_code.robot
+Library disable_warning_urllib.py
*** Keywords ***