summaryrefslogtreecommitdiffstats
path: root/tests/units/test_0007_post_poweroff.py
Commit message (Collapse)AuthorAgeFilesLines
* #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 Extend REST API POST no payload tests to all remaining tests.Roberto Hueso Gómez2019-11-131-0/+4
| | | | | | | | | | | | | | | | | This patch extends tests for requests without any payload in the following REST API POST functions: - /clients - /wol - /shell/run - /shell/output - /session - /poweroff - /reboot - /stop - /refresh - /hardware - /software
* #915 adds test for POST /poweroff REST APIJavier Sánchez Parra2019-07-151-0/+20
This test covers two two scenarios: 1. Correct usage. 2. Incorrect usage, use this command with GET (this returns http 405).