(self)
| 2991 | self.known_mounts = {l for l in lines if l[1:3] == ':\\'} |
| 2992 | |
| 2993 | def test_listdrives(self): |
| 2994 | drives = os.listdrives() |
| 2995 | self.assertIsInstance(drives, list) |
| 2996 | self.assertSetEqual( |
| 2997 | self.known_drives, |
| 2998 | self.known_drives & set(drives), |
| 2999 | ) |
| 3000 | |
| 3001 | def test_listvolumes(self): |
| 3002 | volumes = os.listvolumes() |
nothing calls this directly
no test coverage detected