nicolargo
77167b8bce
Event is now a Dataclass
2024-03-17 17:07:13 +01:00
nicolargo
6508acaba7
Improve alert with mininimal interval/duration configuration keys #2558
2024-03-16 17:00:16 +01:00
nicolargo
ab5bf02e6b
Add unittest for Bar
2024-01-28 16:06:56 +01:00
nicolargo
1f1622a625
Looks beter after the last commit ! Some TODO to do in the glances_restful_api.py files...
2023-12-10 19:59:33 +01:00
nicolargo
17fb3c8d60
Add Python 3.12 support in UnitTest
2023-10-07 08:42:22 +02:00
nicolargo
ad1de825f9
Correct test_100_secure to avoid pipe error (error only occured in Github pipelines)
2023-07-14 09:12:29 +02:00
nicolargo
aeb6891c85
Improve secure.py
2023-06-17 16:28:27 +02:00
nicolargo
658c3563a7
Improve Makefile to split minimal, full and dev virtualenv
2023-05-17 15:42:39 +02:00
Bharath Vignesh J K
a08d3dc546
Merge from develop
2023-05-10 01:13:38 +05:30
Bharath Vignesh J K
4941f10f73
chg: unittest - secure funcs test for windows
2023-05-09 02:44:48 +05:30
nicolargo
a805386255
Add Podman IO, but not workking for the moment because https://github.com/containers/podman/issues/11695
2023-01-22 09:54:56 +01:00
nicolargo
5dd133af7d
Add memory info for Podman
2023-01-21 15:40:48 +01:00
nicolargo
30f7dbc566
Solve conflicts
2022-10-29 11:13:13 +02:00
Kian-Meng Ang
4046fbb18c
Fix typos
...
Found via `codespell -S ./venv,./glances/outputs,*.svg -L hart,bu,te,statics`
2022-10-03 21:53:24 +08:00
nicolargo
82bbd00b6c
Lint the code
2022-08-20 10:01:37 +02:00
nicolargo
6ee41b22b7
Correct unitest
2022-08-14 10:44:01 +02:00
nicolargo
e00bb4f336
Merge from develop
2022-08-14 10:39:32 +02:00
nicolargo
7080464766
Resolve conflict after develop merge
2022-07-09 14:03:12 +02:00
Jiajie Chen
c8f6e4d1bc
fix: fix unit testing on macOS
...
In test_017_programs, the following exception may occur:
TypeError: unsupported operand type(s) for +=: 'int' and 'NoneType'
This commit fixes this exception by giving a default value for None.
2022-07-09 16:34:00 +08:00
nicolargo
5114231085
Make Glances (almost) compliant with REUSE #2042
2022-06-25 15:43:36 +02:00
nicolargo
40864d35e1
Correct merge conflict
2022-03-20 09:09:00 +01:00
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
71a8b37dfb
Merge develop
2022-02-26 15:50:56 +01:00
nicolargo
be927fda3d
Prepare memory leak test. Not active for the moment
2022-02-26 15:45:39 +01:00
nicolargo
2b28c3cab5
Correct unitary test
2021-11-03 10:39:04 +01:00
nicolargo
3573c1a2df
Refactor plugins as MVC (only M implement for the moment)
2021-09-26 17:47:09 +02:00
nicolargo
a0b5982f1d
Refactor exports modules loading
2021-09-04 16:46:20 +02:00
nicolargo
64eab612a3
Plugin sensors and main plugin OK
2021-09-04 09:39:17 +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
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