diff options
author | Alessio Sergi <al3hex@gmail.com> | 2016-03-24 11:33:31 +0100 |
---|---|---|
committer | Alessio Sergi <al3hex@gmail.com> | 2016-03-24 11:34:30 +0100 |
commit | a583aeb8195f36483a07cf9c34dcb5cb8f5ab11f (patch) | |
tree | 728a889031060ce8f68441b45e68d4519d6a8688 /unitest.py | |
parent | 84e8759a8deae2060fc8731d7f11f03a32485985 (diff) |
Remove some duplicate variables from globals
Update all affected imports accordingly.
Diffstat (limited to 'unitest.py')
-rwxr-xr-x | unitest.py | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -38,12 +38,13 @@ if not core.is_standalone(): from glances.stats import GlancesStats stats = GlancesStats() -from glances.globals import WINDOWS, version +from glances import __version__ +from glances.globals import WINDOWS from glances.outputs.glances_bars import Bar # Unitest class # ============== -print('Unitary tests for Glances %s' % version) +print('Unitary tests for Glances %s' % __version__) class TestGlances(unittest.TestCase): |