summaryrefslogtreecommitdiffstats
path: root/unitest.py
diff options
context:
space:
mode:
authornicolargo <nicolas@nicolargo.com>2022-07-09 14:03:12 +0200
committernicolargo <nicolas@nicolargo.com>2022-07-09 14:03:12 +0200
commit708046476607f4b89bb7bd11703ec60bbc6c1206 (patch)
tree909df142ac286911b8a2fe498b306540187d11ac /unitest.py
parentd149a2f3a4f220c02f4da94b8426b17c45b386fa (diff)
parente4437a59ee21d0b08bbfdd5ff3aa034db83a8ab5 (diff)
Resolve conflict after develop merge
Diffstat (limited to 'unitest.py')
-rwxr-xr-xunitest.py16
1 files changed, 3 insertions, 13 deletions
diff --git a/unitest.py b/unitest.py
index 8a4b0c84..fbc51b5e 100755
--- a/unitest.py
+++ b/unitest.py
@@ -3,20 +3,10 @@
#
# Glances - An eye on your system
#
-# Copyright (C) 2021 Nicolargo <nicolas@nicolargo.com>
+# SPDX-FileCopyrightText: 2022 Nicolas Hennion <nicolas@nicolargo.com>
#
-# Glances is free software; you can redistribute it and/or modify
-# it under the terms of the GNU Lesser General Public License as published by
-# the Free Software Foundation, either version 3 of the License, or
-# (at your option) any later version.
+# SPDX-License-Identifier: LGPL-3.0-only
#
-# Glances is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU Lesser General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public License
-# along with this program. If not, see <http://www.gnu.org/licenses/>.
"""Glances unitary tests suite."""
@@ -291,7 +281,7 @@ class TestGlances(unittest.TestCase):
def test_017_programs(self):
"""Check Programs function (it's not a plugin)."""
# stats_to_check = [ ]
- print('INFO: [TEST_010] Check PROGRAM stats')
+ print('INFO: [TEST_017] Check PROGRAM stats')
stats_grab = processes_to_programs(stats.get_plugin('processlist').get_raw())
self.assertTrue(type(stats_grab) is list, msg='Programs stats is not a list')
print('INFO: PROGRAM list stats: %s items in the list' % len(stats_grab))