diff --git a/tests/test_hwmon.py b/tests/test_hwmon.py index 327495f..669c2fd 100644 --- a/tests/test_hwmon.py +++ b/tests/test_hwmon.py @@ -1,11 +1,13 @@ """Tests for SystemHealthMonitor pure methods — no external processes or filesystem.""" import sys import os -from unittest.mock import patch, MagicMock -sys.path.insert(0, os.path.dirname(os.path.dirname(__file__))) import pytest -from hwmonDaemon import SystemHealthMonitor + +sys.path.insert(0, os.path.dirname(os.path.dirname(__file__))) + +from unittest.mock import patch # noqa: E402 +from hwmonDaemon import SystemHealthMonitor # noqa: E402 @pytest.fixture(scope='module')