summaryrefslogtreecommitdiffstats
path: root/tests/units/test_0023_post_run_schedule.py
Commit message (Collapse)AuthorAgeFilesLines
* #915 Fix several test errorsDiego Crespo Quinta2020-10-221-28/+0
| | | | | | | | | | Test 0006: add json to GET /session and update expected return code. Test 0012: add json to GET /software and update expected return code (200), in this case json fields are integer, not string. Test 0020: remove it, /image/create/incremental does not exist anymore. Test 0021: same as before for /image/restore/basic Test 0022: same as before for /image/restore/incremental Test 0023: rename to test_0020.
* #915 Test malformed payload for POST commandsRoberto Hueso Gómez2019-11-141-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | 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 /run/schedule REST APIRoberto Hueso Gómez2019-10-311-0/+24
This test covers 3 scenarios: 1. Correct usage. 2. Incorrect usage, without payload. 3. Incorrect usage, use this command with GET.