ogserver/tests/units
Roberto Hueso Gómez c1c89e196c #915: Return 400 status code in POST methods when no payload is attached
If no payload is attached to method that requires a payload, then the API
returns a 400 status code (following RFC 7231) instead of the previous 404.

test_0001_get_clients.py is also modified to fit the new status code.
2019-09-19 16:06:03 +02: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: Remove duplicated test 2019-09-18 17:40:41 +02:00
test_0003_post_wol.py #915: Fix incorrect method and code in invalid GET requests 2019-09-18 17:40:41 +02:00
test_0004_post_shell_run.py #915: Fix incorrect method and code in invalid GET requests 2019-09-18 17:40:41 +02:00
test_0005_post_shell_output.py #915: Fix incorrect method and code in invalid GET requests 2019-09-18 17:40:41 +02:00
test_0006_post_session.py #915: Fix incorrect method and code in invalid GET requests 2019-09-18 17:40:41 +02:00
test_0007_post_poweroff.py #915 adds test for POST /poweroff REST API 2019-07-15 09:49:04 +02:00
test_0008_post_reboot.py #915 adds test for POST /reboot REST API 2019-07-15 09:49:51 +02:00
test_0009_post_stop.py #915 adds test for POST /stop REST API 2019-07-15 09:50:21 +02:00
test_0010_post_refresh.py #915 adds test for POST /refresh REST API 2019-07-15 09:50:43 +02:00
test_0011_post_hardware.py #915 adds test for POST /hardware REST API 2019-07-15 09:51:03 +02:00
test_0012_post_software.py #915 adds test for POST /software REST API 2019-07-15 09:51:22 +02: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