Commit Graph

18 Commits (4465c6a25ac072a299762a795d4ce51498eb4d33)

Author SHA1 Message Date
OpenGnSys Support Team 62b52ff364 src: update license header 2024-11-28 16:45:56 +01:00
OpenGnSys Support Team cb9edc8d95 ogClient is AGPLv3+
Update license header in files.
2021-05-14 00:19:28 +02:00
OpenGnSys Support Team 0ada33c695 rename main.py to ogclient 2020-06-26 11:04:32 +02:00
OpenGnSys Support Team f86999da0c add space after Content-Length and Content-Type
ogAdmServer needs this space to work fine.
2020-01-28 09:14:13 +01:00
Roberto Hueso Gómez 7196e7198e Add /refresh test
This test covers a correct request.
2020-01-21 17:33:09 +01:00
Roberto Hueso Gómez ca0a62f9c6 Fix /software command Linux operation
This patch runs the script InventarioSoftware with the right arguments.
This also increases the recv buffer size for the test server.
2020-01-21 17:32:57 +01:00
Roberto Hueso Gómez d401c9ff46 Add /software test
This test covers a correct request.
2020-01-21 17:32:52 +01:00
Roberto Hueso Gómez 9890d60300 Fix /shell/run commands splitting
This patch splits shell commands either with ';' or '\n'.
2020-01-21 17:32:48 +01:00
Roberto Hueso Gómez 434bb272b5 Add /hardware tests
This tests covers a correct request.
2020-01-21 17:32:39 +01:00
Roberto Hueso Gómez 8a9a32fa6b Add test for /run/schedule
This test covers a correct request.
2020-01-19 20:18:14 +01:00
Roberto Hueso Gómez a5ce597196 Add test for non-existent function 2020-01-19 20:18:14 +01:00
Roberto Hueso Gómez 65a5c95cc2 Add test for sequential /shell/run requests
This also fixes test bugs in the cases:
- Malformed json
- No json
2020-01-19 20:18:14 +01:00
Roberto Hueso Gómez 2c5e477dfb Add /probe tests for multiple probes and extra parameter in json 2020-01-19 20:18:14 +01:00
Roberto Hueso Gómez 025e4da5a9 Remove unnecessary variables from test server 2020-01-19 20:18:14 +01:00
Alvaro Neira Ayuso 05b1088827 Include License header 2020-01-19 19:50:44 +01:00
Roberto Hueso Gómez df98db2c3c Add /shell/run tests
These tests cover:
- Correct request with echo
- Correct request without echo
- No json request
- Malformed json request
2020-01-19 19:50:44 +01:00
Roberto Hueso Gómez 23cc1e6b86 Add /probe tests
These tests cover:
- Correct request
- No json request
- Malformed json request
2020-01-19 19:50:44 +01:00
Roberto Hueso Gómez bb65bd7bf0 Add unit testing basic structure 2020-01-19 19:50:44 +01:00