ogserver/tests/units
Roberto Hueso Gómez abd2b913d8 #915 Test malformed payload for POST commands
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.
2019-11-14 14:51:13 +01:00
..
test_0001_get_clients.py #915: Return 400 status code in POST methods when no payload is attached 2019-09-19 16:06:03 +02:00
test_0002_post_clients.py #915 Test malformed payload for POST /clients 2019-11-13 14:15:58 +01:00
test_0003_post_wol.py #915 Test malformed payload for POST /wol 2019-11-13 14:16:01 +01:00
test_0004_post_shell_run.py #915 Test malformed payload for POST /shell/run 2019-11-13 14:16:02 +01:00
test_0005_post_shell_output.py #915 Test malformed payload for POST commands 2019-11-14 14:51:13 +01:00
test_0006_post_session.py #915 Test malformed payload for POST commands 2019-11-14 14:51:13 +01:00
test_0007_post_poweroff.py #915 Test malformed payload for POST commands 2019-11-14 14:51:13 +01:00
test_0008_post_reboot.py #915 Test malformed payload for POST commands 2019-11-14 14:51:13 +01:00
test_0009_post_stop.py #915 Test malformed payload for POST commands 2019-11-14 14:51:13 +01:00
test_0010_post_refresh.py #915 Test malformed payload for POST commands 2019-11-14 14:51:13 +01:00
test_0011_post_hardware.py #915 Test malformed payload for POST commands 2019-11-14 14:51:13 +01:00
test_0012_post_software.py #915 Test malformed payload for POST commands 2019-11-14 14:51:13 +01:00
test_0013_nonexistent.py #915 adds tests for a non existent method 2019-07-15 09:53:40 +02:00
test_0014_big_request.py #915 adds test for too large HTTP request 2019-09-04 20:13:11 +02:00
test_0015_wrong_headers.py #915 add test for too large HTTP request fields 2019-09-10 11:10:34 +02:00
test_0016_post_image_create.py #915 Test malformed payload for POST commands 2019-11-14 14:51:13 +01:00
test_0017_post_image_restore.py #915 Test malformed payload for POST commands 2019-11-14 14:51:13 +01:00
test_0018_post_setup.py #915 Test malformed payload for POST commands 2019-11-14 14:51:13 +01:00
test_0019_post_image_create_basic.py #915 Test malformed payload for POST commands 2019-11-14 14:51:13 +01:00
test_0020_post_image_create_incremental.py #915 Test malformed payload for POST commands 2019-11-14 14:51:13 +01:00
test_0021_post_image_restore_basic.py #915 Test malformed payload for POST commands 2019-11-14 14:51:13 +01:00
test_0022_post_image_restore_incremental.py #915 Test malformed payload for POST commands 2019-11-14 14:51:13 +01:00
test_0023_post_run_schedule.py #915 Test malformed payload for POST commands 2019-11-14 14:51:13 +01:00