summaryrefslogtreecommitdiffstats
path: root/unitest-restful.py
diff options
context:
space:
mode:
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):