update refactoring and add new features

This commit is contained in:
2026-07-24 20:55:58 -07:00
parent 7f12bc7f40
commit 03fbbbcf28
69 changed files with 16332 additions and 17600 deletions
+21
View File
@@ -0,0 +1,21 @@
#!/usr/bin/env python3
import sys
import traceback
sys.path.insert(0, r'C:\Forgejo\Medios-Macina')
from tests.test_cli_parsing import *
failed = 0
tests = [(n, o) for n, o in globals().items() if n.startswith('test_') and callable(o)]
for n, o in tests:
try:
o()
print(n, 'OK')
except Exception as e:
print(n, 'FAIL', e)
traceback.print_exc()
failed += 1
if failed:
sys.exit(1)
print('All tests passed')