summaryrefslogtreecommitdiffstats
path: root/unitest-restful.py
diff options
context:
space:
mode:
authorAlessio Sergi <al3hex@gmail.com>2015-11-14 15:15:15 +0100
committerAlessio Sergi <al3hex@gmail.com>2015-11-14 15:15:15 +0100
commita271eaf8aea5513115f164473039237a757c69dc (patch)
treed46cd5c936e753eea844fd70643754a33e3a53cd /unitest-restful.py
parent4fb83d156c9501f41e2a77f0f36ec0cd5b151f5a (diff)
Move core at the top of the module tree
Remove 'glances_' prefix from filenames.
Diffstat (limited to 'unitest-restful.py')
-rwxr-xr-xunitest-restful.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/unitest-restful.py b/unitest-restful.py
index 1bf4e66a..fe170719 100755
--- a/unitest-restful.py
+++ b/unitest-restful.py
@@ -25,8 +25,8 @@ import subprocess
import time
import unittest
-from glances.core.compat import text_type
-from glances.core.glances_globals import version
+from glances.compat import text_type
+from glances.globals import version
import requests
@@ -40,7 +40,6 @@ print('RESTful API unitary tests for Glances %s' % version)
class TestGlances(unittest.TestCase):
-
"""Test Glances class."""
def setUp(self):