summaryrefslogtreecommitdiffstats
path: root/unitest.py
diff options
context:
space:
mode:
authornicolargo <nicolas@nicolargo.com>2019-11-24 17:40:02 +0100
committernicolargo <nicolas@nicolargo.com>2019-11-24 17:40:02 +0100
commit3b11856926d9d512ba749033e67c326fb619fa3a (patch)
tree4c26540e15981be0ae5286d3548c67eb31050510 /unitest.py
parent7bd6351bf27c316eaa9c25f76bf48d1b8a121d36 (diff)
Feature request: HDD S.M.A.R.T. reports #1288 (only terminal UI)
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