Commit Graph

38 Commits

Author SHA1 Message Date
nicolargo
5114231085 Make Glances (almost) compliant with REUSE #2042 2022-06-25 15:43:36 +02:00
aekoroglu
b3b012b177 tests runs on loopback interface 2022-05-08 22:01:40 +03: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
nicolargo
0a0fed767e Correct an issue in the RESTFUL unitest. Add delay to the server start 2015-03-08 11:21:02 +01:00
Nicolargo
2d6675fa3b Add view (MVC speeking) for the plugins. Add API methods and Unitary test. 2015-01-18 18:21:26 +01:00
Nicolargo
07afa1370c Implement get all limits in the RESTFUL API #477 2015-01-09 22:28:00 +01:00
Nicolargo
736c8ec7ae Add Tox file for testing 2014-10-02 22:13:48 +02:00
Nicolargo
22ea5b1172 Add unitest for XML/RCP server' 2014-07-12 18:02:31 +02:00
Nicolas Hennion
b31d824ff3 Add unitest script for the RESTFul API 2014-07-09 13:50:25 +02:00