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