Do not mock `render_template` in tests. Instead let Flask producing full response, then inspect returned JSON object making sure the essential bits are present in the response as we expect them to. Change-Id: I76fd18b7e90f7a83f548f564e17559f3c8fedec1 Co-Authored-By: Aija Jaunteva <ajaunteva@gmail.com> Co-Authored-By: Dmitry Tantsur <divius.inside@gmail.com> Story: 2002745 Task: 22598
Redfish development tools
This is a set of simple simulation tools aiming at supporting the development and testing of the Redfish protocol implementations and, in particular, Sushy library (https://docs.openstack.org/sushy/).
The package ships two simulators - static Redfish responder and cloud-backed virtual Redfish BMC.
The static Redfish responder is a simple REST API server which responds the same things to client queries. It is effectively read-only.
The virtual Redfish BMC resembles the real Redfish-controlled bare-metal machine to some extent. Some client queries are translated to commands that actually control VM instances simulating bare metal hardware. However some of the Redfish commands just return static content never touching the virtualization backend and, for that matter, virtual Redfish BMC is similar to the static Redfish responser.
- Free software: Apache license
- Documentation: https://docs.openstack.org/sushy/
- Source: http://git.openstack.org/cgit/openstack/sushy-tools
- Bugs: http://bugs.launchpad.net/sushy