diff options
author | nicolargo <nicolas@nicolargo.com> | 2017-04-30 22:29:02 +0200 |
---|---|---|
committer | nicolargo <nicolas@nicolargo.com> | 2017-04-30 22:29:02 +0200 |
commit | 3c42bb929b511569d6cc40804ac5fa073f3da500 (patch) | |
tree | 356f894dfe369eefba1ea35bf3a605d48eff7a8d /unitest.py | |
parent | 32d5047d30c521609f7b1c9c5060eba1a476057a (diff) |
Correct an issue on unitest with PY3
Diffstat (limited to 'unitest.py')
-rwxr-xr-x | unitest.py | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -28,6 +28,7 @@ from glances.stats import GlancesStats from glances import __version__ from glances.globals import WINDOWS, LINUX from glances.outputs.glances_bars import Bar +from glances.compat import PY3 from glances.thresholds import GlancesThresholdOk from glances.thresholds import GlancesThresholdCareful from glances.thresholds import GlancesThresholdWarning @@ -210,6 +211,7 @@ class TestGlances(unittest.TestCase): self.assertTrue(type(stats_grab) is list, msg='GPU stats is not a list') print('INFO: GPU stats: %s' % stats_grab) + @unittest.skipIf(PY3, True) def test_094_thresholds(self): """Test thresholds classes""" print('INFO: [TEST_094] Thresholds') |