summaryrefslogtreecommitdiffstats
path: root/unitest.py
diff options
context:
space:
mode:
Diffstat (limited to 'unitest.py')
-rwxr-xr-xunitest.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/unitest.py b/unitest.py
index 142997c0..1b15cd1c 100755
--- a/unitest.py
+++ b/unitest.py
@@ -257,7 +257,7 @@ class TestGlances(unittest.TestCase):
def test_016_hddsmart(self):
"""Check hard disk SMART data plugin."""
try:
- from glances.plugins.glances_smart import is_admin
+ from glances.compat import is_admin
except ImportError:
print("INFO: [TEST_016] pySMART not found, not running SMART plugin test")
return