mirror of
https://github.com/Virtual-World-RE/NeoGF.git
synced 2024-12-25 18:51:35 +01:00
Update gcmtest.py
This commit is contained in:
parent
701e23f20b
commit
f04984cf62
|
@ -28,7 +28,7 @@ repack_path = Path("repack")
|
|||
|
||||
def test_storage():
|
||||
total, used, free = shutil.disk_usage("/")
|
||||
if free - 10**12 < 3 * sum(path.stat().st_size for path in roms_path.glob('*') if path.is_file()):
|
||||
if free - 10**10 < 3 * sum(path.stat().st_size for path in roms_path.glob('*') if path.is_file()):
|
||||
raise Exception("Error - Not enought free space on the disk to run tests.")
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user