mirror of
https://github.com/Virtual-World-RE/NeoGF.git
synced 2024-11-15 10:45:33 +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():
|
def test_storage():
|
||||||
total, used, free = shutil.disk_usage("/")
|
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.")
|
raise Exception("Error - Not enought free space on the disk to run tests.")
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user