diff options
author | Alessio Sergi <al3hex@gmail.com> | 2015-11-14 15:15:15 +0100 |
---|---|---|
committer | Alessio Sergi <al3hex@gmail.com> | 2015-11-14 15:15:15 +0100 |
commit | a271eaf8aea5513115f164473039237a757c69dc (patch) | |
tree | d46cd5c936e753eea844fd70643754a33e3a53cd /unitest.py | |
parent | 4fb83d156c9501f41e2a77f0f36ec0cd5b151f5a (diff) |
Move core at the top of the module tree
Remove 'glances_' prefix from filenames.
Diffstat (limited to 'unitest.py')
-rwxr-xr-x | unitest.py | 7 |
1 files changed, 3 insertions, 4 deletions
@@ -28,17 +28,17 @@ import unittest # ================= # Init Glances core -from glances.core.glances_main import GlancesMain +from glances.main import GlancesMain core = GlancesMain() if not core.is_standalone(): print('ERROR: Glances core should be ran in standalone mode') sys.exit(1) # Init Glances stats -from glances.core.glances_stats import GlancesStats +from glances.stats import GlancesStats stats = GlancesStats() -from glances.core.glances_globals import is_windows, version +from glances.globals import is_windows, version from glances.outputs.glances_bars import Bar # Unitest class @@ -47,7 +47,6 @@ print('Unitary tests for Glances %s' % version) class TestGlances(unittest.TestCase): - """Test Glances class.""" def setUp(self): |