Some checks failed
Cross-Node Transaction Testing / transaction-test (push) Successful in 19s
Deploy to Testnet / deploy-testnet (push) Successful in 1m10s
Multi-Node Stress Testing / stress-test (push) Successful in 2s
Node Failover Simulation / failover-test (push) Successful in 1s
Python Tests / test-python (push) Failing after 7s
Deploy to Testnet / notify-deployment (push) Successful in 1s
- Fixed bare except clauses in dev/examples/wallet.py - Fixed bare except clauses in dev/gpu/gpu_exchange_status.py (2 clauses) - Fixed bare except clauses in dev/gpu/gpu_miner_host.py - Fixed bare except clauses in dev/onboarding/auto-onboard.py - Fixed bare except clauses in dev/onboarding/onboarding-monitor.py - Fixed bare except clauses in dev/scripts/dev_heartbeat.py - Fixed bare except clauses in tests/integration/test_blockchain_simple.py (3 clauses) - Fixed bare except clause in tests/integration/test_full_workflow.py - Fixed bare except clause in tests/load_test.py - Fixed bare except clause in tests/security/test_confidential_transactions.py - Fixed bare except clause in tests/verification/test_coordinator.py - All bare except clauses now use proper Exception handling - Addresses remaining ruff E722 warnings in non-critical code
Testing Scripts
This directory contains various test scripts and utilities for testing the AITBC platform.
Test Scripts
Block Import Tests
- test_block_import.py - Main block import endpoint test
- test_block_import_complete.py - Comprehensive block import test suite
- test_simple_import.py - Simple block import test
- test_tx_import.py - Transaction import test
- test_tx_model.py - Transaction model validation test
- test_minimal.py - Minimal test case
- test_model_validation.py - Model validation test
Payment Tests
- test_payment_integration.py - Payment integration test suite
- test_payment_local.py - Local payment testing
Test Runners
- run_test_suite.py - Main test suite runner
- run_tests.py - Simple test runner
- verify_windsurf_tests.py - Verify Windsurf test configuration
- register_test_clients.py - Register test clients for testing
Usage
Most test scripts can be run directly with Python:
python3 test_block_import.py
Some scripts may require specific environment setup or configuration.