Correct an issue on unitest with PY3

pull/1081/merge
nicolargo 2017-04-30 22:29:02 +02:00
parent 32d5047d30
commit 3c42bb929b
1 changed files with 2 additions and 0 deletions

View File

@ -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')