Commit Graph

56 Commits

Author SHA1 Message Date
nicolargo
fa0fc8578e Add unittest (API) for fields description and unit 2023-12-23 11:10:52 +01:00
nicolargo
6edd6fd1ff Refactor Alert data model from list of list to list of dict #2633 2023-12-23 11:01:41 +01:00
nicolargo
bea6563573 Correct Restful API unittests 2023-12-16 14:43:51 +01:00
nicolargo
3215bf5c63 Optimize basic HTTP authentication 2023-12-15 19:06:33 +01:00
nicolargo
cbb2facc87 Unit tests are ok BUT the WebUI has a lot of issue: plugin disapear, traceback... Perhaps issue when stats are refreched ? 2023-12-10 19:27:02 +01:00
nicolargo
5d054e12e1 Works in progress 2023-12-09 10:09:17 +01:00
nicolargo
5fa7ae4264 WARNING: Replace the get_raw command for processlist 2023-12-02 16:41:52 +01:00
nicolargo
ef2f949f04 Implement a new API method to limit the number of returned list object #2491 2023-08-14 10:30:20 +02:00
nicolargo
658c3563a7 Improve Makefile to split minimal, full and dev virtualenv 2023-05-17 15:42:39 +02:00
nicolargo
db4bd0d136 Merge from develop 2023-03-12 09:44:43 +01:00
Raz Crimson
53c1d64aff fix: Bottle - /api/%s/status endpoint
prob: failure in compressing `None` with zlib
2023-03-10 19:08:09 +05:30
nicolargo
70aa46d4a0 Solve conflicts 2022-11-19 16:08:18 +01:00
nicolargo
2b8ae361d1 Improve unitary test for client/server by using venv if possible 2022-10-31 08:40:46 +01:00
nicolargo
7080464766 Resolve conflict after develop merge 2022-07-09 14:03:12 +02:00
nicolargo
5114231085 Make Glances (almost) compliant with REUSE #2042 2022-06-25 15:43:36 +02:00
nicolargo
82025891b3 Resolve merge conflicts from develop 2022-05-25 16:01:06 +02:00
aekoroglu
b3b012b177 tests runs on loopback interface 2022-05-08 22:01:40 +03:00
nicolargo
a0b5982f1d Refactor exports modules loading 2021-09-04 16:46:20 +02:00
nicolargo
cb68d216d2 Merge compat into globals 2021-08-28 10:56:04 +02:00
nicolargo
15173dd431 Correct unitests 2021-08-25 13:07:44 +02:00
nicolargo
6ca31c947a Add an unitest for issue #1401 2019-01-24 21:43:50 +01:00
nicolargo
316d693c97 Glances 3.1.0 2019-01-19 16:41:03 +01:00
nicolargo
00d9f6ae8d Upgrade RestFul API to api/3 2018-08-05 17:29:08 +02:00
nicolargo
172fc2ca2c Add documentation about deps 2018-08-05 17:08:05 +02:00
nicolargo
33d20ab36f Change copyright year to 2018 2018-05-12 18:38:37 +02:00
nicolargo
2387e05bb2 Update unitest from gzip to deflate 2018-02-25 14:09:06 +01:00
nicolargo
13674d57b6 Works fine in Python 2 but Internal Server Error with Python 3... 2017-11-12 17:23:31 +01:00
nicolargo
59a5400118 Add Gzip support to unitaries tests 2017-11-09 21:32:07 +01:00
Alessio Sergi
0f2824fd6a Copyright 2017 2017-01-09 12:09:17 +01:00
nicolargo
1e36444f18 Correct an issue in PR issue #979 (for #issue #170) because the get_stats method overwrite the default get_method. Rename it to get_device_stats 2016-12-17 10:35:09 +01:00
nicolargo
92b4e1adf0 Correct an issue in the UT for the new Wifi plugin 2016-10-21 22:32:39 +02:00
nicolargo
5a721bf406 Correct issue on history UT 2016-09-25 22:29:17 +02:00
angelopoerio
e7fafdbdee Added irq monitoring plugin 2016-08-20 16:26:00 +02:00
Nicolargo
7c2eff306c Correct issue on Restfull unitest for ports plugin 2016-06-27 14:31:56 +02:00
nicolargo
5065ef12e0 Correct unitest Restfull JSON to be Python compatible 2016-06-04 19:31:25 +02:00
nicolargo
a790a3b7f0 Add unitary test for history Restfull API 2016-06-04 16:17:00 +02:00
nicolargo
1621832567 Almost finished. Just had to correct an issue on the WebUI displaying AMP with empty result 2016-05-01 21:00:47 +02:00
Nicolargo
b347cb9ce8 Correct unitest Restful for amp 2016-04-28 10:44:08 +02:00
nicolargo
f5d157a7cf Correct Restful unitest for the previous commit 2016-03-31 13:23:46 +02:00
Alessio Sergi
a583aeb819 Remove some duplicate variables from globals
Update all affected imports accordingly.
2016-03-24 11:34:30 +01:00
nicolargo
5ab1059c35 Add Folders plugin to the unitaries tests 2015-11-22 11:02:27 +01:00
Alessio Sergi
a271eaf8ae Move core at the top of the module tree
Remove 'glances_' prefix from filenames.
2015-11-14 15:15:15 +01:00
Alessio Sergi
25f531e3d4 Use the new compat module 2015-11-03 17:06:18 +01:00
Alessio Sergi
e5263a8ad0 unitest-restful: handle text type correctly across Python 2/3
In short, this is unicode in Python 2 and str in Python 3.
2015-09-24 11:29:39 +02:00
Nicolargo
2bc0d42736 Correct an issue with test_003_plugins in Unitest for the Restful API (str instead od unicode) 2015-09-24 10:15:08 +02:00
Alessio Sergi
183328dbd0 unitest-restful: general cleaning 2015-09-22 12:29:29 +02:00
Alessio Sergi
075ba72d79 unitest-restful: unbreak non-Linux platforms
OK FreeBSD, OS X and Windows.
2015-09-22 12:12:12 +02:00
Alessio Sergi
3db98fb9a1 unitest-restful: Python 3 compat 2015-09-22 12:00:00 +02:00
Emmanuel Roullit
485f2203e0 unittest: start server in a modified environment.
This changes allows the user to run the unittests properly in
a virtualenv setup. Once the venv activated, /usr/bin/env
will point the python executable within the venv instead of
the system one.

Signed-off-by: Emmanuel Roullit <emmanuel.roullit@gmail.com>
2015-07-20 11:59:40 +02:00
Alessio Sergi
eaa8e39771 No more translations 2015-05-01 19:51:15 +02:00