Skip to content

Commit 529e3a5

Browse files
committed
Add test on logicaldrives for py3
1 parent 7a50573 commit 529e3a5

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

tests/test_system.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,11 @@ def test_services(self):
3131
return windows.system.services
3232

3333
def test_logicaldrives(self):
34-
return windows.system.logicaldrives
34+
for ldrive in windows.system.logicaldrives:
35+
assert ldrive
36+
assert ldrive.name
37+
assert ldrive.path
38+
assert ldrive.volume_info
3539

3640
def test_wmi(self):
3741
return windows.system.wmi

0 commit comments

Comments
 (0)