Automatically compute drive stat file path

This commit is contained in:
desbma
2015-06-06 18:57:41 +02:00
parent a8a0325c58
commit 2edbcbd950
3 changed files with 9 additions and 24 deletions
+1 -1
View File
@@ -43,7 +43,7 @@ class TestDrive(unittest.TestCase):
stat_mock.stat.S_IFBLK.return_value = True
subprocess_check_call_mock.side_effect = subprocess.CalledProcessError(0, "")
drive_getPrettyName.return_value = "drive_name"
self.drive = hddfancontrol.Drive("/dev/sdz", "/dummy", None)
self.drive = hddfancontrol.Drive("/dev/sdz", None)
self.hddtemp_daemon = None
def tearDown(self):