Files
aitbc/cli/tests/run_level2_tests.py
oib bb5363bebc refactor: consolidate blockchain explorer into single app and update backup ignore patterns
- Remove standalone explorer-web app (README, HTML, package files)
- Add /web endpoint to blockchain-explorer for web interface access
- Update .gitignore to exclude application backup archives (*.tar.gz, *.zip)
- Add backup documentation files to .gitignore (BACKUP_INDEX.md, README.md)
- Consolidate explorer functionality into main blockchain-explorer application
2026-03-06 18:14:49 +01:00

40 lines
1010 B
Python
Executable File

#!/usr/bin/env python3
"""
Simple test runner for AITBC CLI Level 2 commands
"""
import sys
import os
# Add CLI to path
sys.path.insert(0, '/home/oib/windsurf/aitbc/cli')
def main():
"""Main test runner"""
print("🚀 AITBC CLI Level 2 Commands Test Runner")
print("Testing essential subcommands for daily operations")
print("=" * 50)
try:
# Import and run the main test
from test_level2_commands import main as test_main
success = test_main()
if success:
print("\n🎉 All Level 2 tests completed successfully!")
sys.exit(0)
else:
print("\n❌ Some Level 2 tests failed!")
sys.exit(1)
except ImportError as e:
print(f"❌ Import error: {e}")
print("Make sure you're running from the tests directory")
sys.exit(1)
except Exception as e:
print(f"❌ Unexpected error: {e}")
sys.exit(1)
if __name__ == "__main__":
main()