summaryrefslogtreecommitdiffstats
path: root/tests/units/test_0017_post_image_restore.py
Commit message (Collapse)AuthorAgeFilesLines
* #915 Test malformed payload for POST commandsRoberto Hueso Gómez2019-11-141-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | This patch includes tests for the remaining REST API commands: POST /shell/output POST /session POST /poweroff POST /reboot POST /stop POST /refresh POST /hardware POST /software POST /image/create POST /image/restore POST /setup POST /image/create/basic POST /image/create/incremental POST /image/restore/basic POST /image/restore/incremental POST /run/schedule This test covers requests that are missing one of the parameters in its payload.
* #915 Add test for POST /image/restore REST APIRoberto Hueso Gómez2019-10-311-0/+31
This test covers 3 scenarios: 1. Correct usage. 2. Incorrect usage, without payload. 3. Incorrect usage, use this command with GET.