From 87e1c998a698733cfcc9b98fd60ec7d412f36f7c Mon Sep 17 00:00:00 2001 From: hakril Date: Tue, 21 May 2024 10:19:26 +0200 Subject: [PATCH] Add test on logicaldrives for py3 --- tests/test_system.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/tests/test_system.py b/tests/test_system.py index e563845..318869a 100644 --- a/tests/test_system.py +++ b/tests/test_system.py @@ -31,7 +31,11 @@ class TestSystemWithCheckGarbage(object): return windows.system.services def test_logicaldrives(self): - return windows.system.logicaldrives + for ldrive in windows.system.logicaldrives: + assert ldrive + assert ldrive.name + assert ldrive.path + assert ldrive.volume_info def test_wmi(self): return windows.system.wmi