mirror of https://github.com/nicolargo/glances
Add VMs to unittest
parent
98e8e32457
commit
e03632459b
|
@ -6,6 +6,7 @@
|
|||
#
|
||||
# SPDX-License-Identifier: LGPL-3.0-only
|
||||
#
|
||||
# Refactor by @ariel-anieli in 2024
|
||||
|
||||
"""Glances unitary tests suite."""
|
||||
|
||||
|
|
|
@ -115,6 +115,7 @@ class TestGlances(unittest.TestCase):
|
|||
'wifi',
|
||||
'gpu',
|
||||
'containers',
|
||||
'vms',
|
||||
):
|
||||
self.assertIsInstance(req.json(), list)
|
||||
if len(req.json()) > 0:
|
||||
|
|
Loading…
Reference in New Issue