diff options
author | angelopoerio <angelo.poerio@gmail.com> | 2016-08-20 18:51:48 +0200 |
---|---|---|
committer | angelopoerio <angelo.poerio@gmail.com> | 2016-08-20 18:51:48 +0200 |
commit | d4d7d6919712a94b0b7697379c94b9385d0c8574 (patch) | |
tree | c62b6c839c4b0bd7586784d2de99712ccc74aa7c /unitest.py | |
parent | dc89bfb62ce9c0278b7cf134e2924b4dca2a2d50 (diff) |
updated test
Diffstat (limited to 'unitest.py')
-rwxr-xr-x | unitest.py | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -39,7 +39,7 @@ from glances.stats import GlancesStats stats = GlancesStats() from glances import __version__ -from glances.globals import WINDOWS +from glances.globals import WINDOWS, LINUX from glances.outputs.glances_bars import Bar # Unitest class @@ -193,6 +193,7 @@ class TestGlances(unittest.TestCase): self.assertTrue(type(stats_grab) is dict, msg='IP stats is not a dict') print('INFO: IP stats: %s' % stats_grab) + @unittest.skipIf(not LINUX, "IRQs available only on Linux") def test_013_irq(self): """Check IRQ plugin.""" print('INFO: [TEST_013] Check IRQ stats') |