summaryrefslogtreecommitdiffstats
path: root/tests/units/test_0003_post_wol.py
Commit message (Collapse)AuthorAgeFilesLines
* #915 Fix test POST /wolJavier Sánchez Parra2021-02-231-2/+2
| | | | | | | Commit e4cb91b changed MAC and netmask retrieving, now ogServer take these addresses from the database instead of from the JSON. Remove MAC and netmask from the JSON body.
* #915 restore more testsIsabel Arrans2020-10-241-1/+1
|
* #915 Test malformed payload for POST /wolRoberto Hueso Gómez2019-11-131-0/+9
| | | | | This test covers requests that do not contain 1 of the parameters in their payloads.
* #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: Fix incorrect method and code in invalid GET requestsRoberto Hueso Gómez2019-09-181-2/+2
| | | | | Some tests should perform GET requests however they incorrectly use POST. Return codes for these tests have also been fixed.
* #915 add missing brackets to WOL API test jsonJavier Sánchez Parra2019-08-281-2/+2
| | | | | Without the brackets the call works (200 response) but the ogAdmServer does not send the WOL packets.
* #915 Improve test output using unittest discoverJavier Sánchez Parra2019-07-051-0/+21
* Call the tests with python module unittest. In particular, the discover function. * Rename tests files to meet the default requirements of discover function.