MCPcopy Index your code
hub / github.com/RustPython/RustPython / test_listvolumes

Method test_listvolumes

Lib/test/test_os.py:3001–3007  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

2999 )
3000
3001 def test_listvolumes(self):
3002 volumes = os.listvolumes()
3003 self.assertIsInstance(volumes, list)
3004 self.assertSetEqual(
3005 self.known_volumes,
3006 self.known_volumes & set(volumes),
3007 )
3008
3009 def test_listmounts(self):
3010 for volume in os.listvolumes():

Callers

nothing calls this directly

Calls 3

setFunction · 0.85
assertIsInstanceMethod · 0.80
assertSetEqualMethod · 0.80

Tested by

no test coverage detected