Home
last modified time | relevance | path

Searched refs:get_disk_usage (Results 1 – 6 of 6) sorted by relevance

/external/python/pyfakefs/pyfakefs/tests/
Dfake_filesystem_test.py1588 self.assertEqual(0, self.filesystem.get_disk_usage('!mount').used)
1594 self.filesystem.get_disk_usage('!mount').used)
1603 filesystem.get_disk_usage())
1607 self.assertEqual((100, 5, 95), self.filesystem.get_disk_usage())
1611 self.assertEqual((100, 11, 89), self.filesystem.get_disk_usage())
1616 self.assertEqual((100, 12, 88), self.filesystem.get_disk_usage())
1621 self.assertEqual((100, 6, 94), self.filesystem.get_disk_usage())
1627 self.assertEqual((100, 20, 80), self.filesystem.get_disk_usage())
1634 self.assertEqual((100, 40, 60), self.filesystem.get_disk_usage())
1637 initial_usage = self.filesystem.get_disk_usage()
[all …]
/external/python/pyfakefs/pyfakefs/
Dfake_filesystem_shutil.py60 return self.filesystem.get_disk_usage(path)
Dfake_filesystem.py1145 def get_disk_usage( member in FakeFilesystem
3254 Deprecator.add(FakeFilesystem, FakeFilesystem.get_disk_usage, 'GetDiskUsage')
/external/python/pyfakefs/docs/
Dapi.rst26 GetDiskUsage() -> get_disk_usage()
Dmodules.rst16 get_disk_usage, set_disk_usage,
Dusage.rst722 To get the file system size, you may use ``get_disk_usage()``, which is