summaryrefslogtreecommitdiffstats
path: root/unitest-restful.py
diff options
context:
space:
mode:
authorAlessio Sergi <al3hex@gmail.com>2016-03-24 11:33:31 +0100
committerAlessio Sergi <al3hex@gmail.com>2016-03-24 11:34:30 +0100
commita583aeb8195f36483a07cf9c34dcb5cb8f5ab11f (patch)
tree728a889031060ce8f68441b45e68d4519d6a8688 /unitest-restful.py
parent84e8759a8deae2060fc8731d7f11f03a32485985 (diff)
Remove some duplicate variables from globals
Update all affected imports accordingly.
Diffstat (limited to 'unitest-restful.py')
-rwxr-xr-xunitest-restful.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/unitest-restful.py b/unitest-restful.py
index bf7b583d..aa4c2045 100755
--- a/unitest-restful.py
+++ b/unitest-restful.py
@@ -25,8 +25,8 @@ import subprocess
import time
import unittest
+from glances import __version__
from glances.compat import text_type
-from glances.globals import version
import requests
@@ -36,7 +36,7 @@ pid = None
# Unitest class
# ==============
-print('RESTful API unitary tests for Glances %s' % version)
+print('RESTful API unitary tests for Glances %s' % __version__)
class TestGlances(unittest.TestCase):