コード例 #1
0
def freeAllDevices():
    """Free all Device objects.  There is no reason to call this function."""
    from _ped import device_free_all
    return device_free_all()
コード例 #2
0
ファイル: test__ped_ped.py プロジェクト: carlroth/pyparted
 def runTest(self):
     _ped.device_probe_all()
     self.assertEqual(_ped.device_free_all(), None)
コード例 #3
0
ファイル: __init__.py プロジェクト: axaxs/pyparted
def freeAllDevices():
    """Free all Device objects.  There is no reason to call this function."""
    from _ped import device_free_all
    return device_free_all()
コード例 #4
0
 def runTest(self):
     _ped.device_probe_all()
     self.assertEqual(_ped.device_free_all(), None)