Repair unitest.py after commit d558e51e2a

This commit is contained in:
Nicolas Hennion 2013-02-04 17:09:31 +01:00
parent 4be5ede3c2
commit a3194f4866
3 changed files with 7 additions and 3 deletions

1
NEWS
View File

@ -5,7 +5,6 @@ Version 1.6.1
* Take into account the number of core in the CPU process limit * Take into account the number of core in the CPU process limit
* Code refactory: PsUtil < 0.4.1 is depredicated (Thk to Alessio) * Code refactory: PsUtil < 0.4.1 is depredicated (Thk to Alessio)
Version 1.6 Version 1.6
=========== ===========

View File

@ -3,7 +3,7 @@
# #
# Glances is a simple textual monitoring tool # Glances is a simple textual monitoring tool
# #
# Copyright (C) 2012 Nicolargo <nicolas@nicolargo.com> # Copyright (C) 2013 Nicolargo <nicolas@nicolargo.com>
# #
# Glances is free software; you can redistribute it and/or modify # 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 # it under the terms of the GNU Lesser General Public License as published by
@ -140,6 +140,12 @@ except ImportError:
else: else:
csv_lib_tag = True csv_lib_tag = True
# Default tag
sensors_tag = False
network_tag = True
diskio_tag = True
fs_tag = True
# Define the default configuration file # Define the default configuration file
DEFAULT_CONF_FILE = "/etc/glances/glances.conf" DEFAULT_CONF_FILE = "/etc/glances/glances.conf"

View File

@ -30,7 +30,6 @@ import signal
import time import time
import glances import glances
class TestGlancesStat(unittest.TestCase): class TestGlancesStat(unittest.TestCase):
def setUp(self): def setUp(self):