Commit Graph

47 Commits

Author SHA1 Message Date
nicolargo
6d9bac1867 First running version. Need more test. And WebUI 2022-03-12 15:21:21 +01:00
nicolargo
7e2af7bd63 Correct unitary test issue in Python 2 2022-03-06 11:22:55 +01:00
nicolargo
be927fda3d Prepare memory leak test. Not active for the moment 2022-02-26 15:45:39 +01:00
Nicolas Hennion
1f90393a03 Correct unitary test following PR #1873 2021-06-11 17:12:07 +02:00
nicolargo
a2c0357898 Manage multiple commands (&&) in the secure popen 2021-04-25 09:42:23 +02:00
nicolargo
85d5a6b4af Security audit - B411 #1025 2021-04-24 16:14:35 +02:00
nicolargo
15ba40f456 Correct Flake8 issue on unitest file 2021-04-20 18:52:02 +02:00
nicolargo
6e7bd2560c Tests using /etc/glances/glances.conf from already installed version #1654 2020-05-10 15:14:05 +02:00
nicolargo
3b11856926 Feature request: HDD S.M.A.R.T. reports #1288 (only terminal UI) 2019-11-24 17:40:02 +01:00
nicolargo
c4ec6ecb8f Correct error in SMART unitest 2019-08-12 09:57:28 +02:00
nicolargo
316d693c97 Glances 3.1.0 2019-01-19 16:41:03 +01:00
Tim Nibert
30b441aa34 fixed test for appveyor 2018-08-25 17:55:23 +10:00
Tim Nibert
c15a970937 Hard disk SMART plugin, includes python3 patched pySMART 2018-08-20 18:18:21 +10:00
nicolargo
33d20ab36f Change copyright year to 2018 2018-05-12 18:38:37 +02:00
nicolargo
982054becd Correct an subsampling issue on Python 3 2018-04-02 14:18:19 +02:00
nicolargo
476d441c0e Subsample data for graph generation 2018-04-02 13:23:06 +02:00
Tomáš Vyčítal
7bd0cff0aa
Add a unit test for plugin's sorted stats method 2018-02-14 21:08:44 +01:00
Alessio Sergi
7e70b36f91 Take advantage of rich comparisons for PyPy too 2018-01-29 20:03:00 +01:00
Alessio Sergi
32425eb205 Implement rich comparisons rather than relying on __cmp__()
The __cmp__() special method is gone in Python 3 in favor of rich
comparison methods.
2018-01-29 19:19:19 +01:00
nicolargo
e354ab403a Unitaries tests are broken after merge of issue#1204 #1210 2017-12-30 10:01:50 +01:00
nicolargo
5b3b7984e7 Correct Travis IC 2017-05-29 06:57:29 +02:00
nicolargo
3c42bb929b Correct an issue on unitest with PY3 2017-04-30 22:29:02 +02:00
nicolargo
14d07ae5d1 Create the Glances threshold dict 2017-04-17 19:24:00 +02:00
nicolargo
a2f97d56d3 Implement Threasholds classes 2017-04-17 15:47:33 +02:00
nicolargo
ceba55d7b6 Try to correct unitest error on Windows OS 2017-03-27 20:12:15 +02:00
nicolargo
12412caf56 Add GPU to the unitest 2017-01-28 18:54:27 +01:00
Alessio Sergi
0f2824fd6a Copyright 2017 2017-01-09 12:09:17 +01:00
nicolargo
b95252846d Update unitest with views 2016-10-23 21:39:53 +02:00
nicolargo
20576f8d08 version 2.7 2016-09-10 11:13:57 +02:00
angelopoerio
d4d7d69197 updated test 2016-08-20 18:51:48 +02:00
angelopoerio
e7fafdbdee Added irq monitoring plugin 2016-08-20 16:26:00 +02:00
nicolargo
8d7c8bbed2 Add unitest for history and attribute 2016-05-29 19:40:39 +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
d6e1067e9f Update unitest with FOLDERS and IP plugins (revert test on IP key) 2016-03-06 17:24:15 +01:00
nicolargo
5948260bb2 Update unitest with FOLDERS and IP plugins 2016-03-06 17:20:10 +01:00
nicolargo
23a8dbc5cd Correct issue on unitest 2015-11-29 20:50:53 +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
25816ceae7 Percentage bars: non-blocking solution for values out of range 2015-11-06 22:33:11 +01:00
Alessio Sergi
46d4b633b9 unitest: cosmetic changes 2015-09-21 16:51:20 +02:00
Alessio Sergi
837193ef7b unitest: unbreak non-Linux platforms
OK FreeBSD, OS X and Windows.
2015-09-21 15:39:39 +02:00
kevinlondon
2b1b80c032 Changed percentage bars to use an explicit assertion error if valid is outside of the expected range. 2015-09-21 00:59:20 +02:00
Alessio Sergi
eaa8e39771 No more translations 2015-05-01 19:51:15 +02:00
nicolargo
fc869b7a21 Correct an issue on the latest commit, cause unitary tests failed 2015-02-20 22:59:00 +01:00
Alessio Sergi
4c4279eccb Fix unitary tests
Fix python3 compat.
2014-06-13 20:06:13 +02:00
Alessio Sergi
b5cac27e99 PEP 257
One-line docstring should not occupy 3 lines
Expected 1 blank line *before* class docstring
First line should end with '.'
Blank line missing between one-line summary and description
No blank lines allowed *after* method docstring
Use r""" if any backslashes in a docstring
2014-06-13 19:02:21 +02:00
Nicolargo
c68fc5d5c1 Delete process number in the unitarytest 2014-05-24 15:11:53 +02:00
Nicolargo
31e93e5c14 Add the unitest.py file 2014-05-21 13:48:07 +02:00