Add sys import to test files and remove obsolete integration tests
Some checks failed
API Endpoint Tests / test-api-endpoints (push) Successful in 9s
Blockchain Synchronization Verification / sync-verification (push) Failing after 1s
CLI Tests / test-cli (push) Failing after 3s
Documentation Validation / validate-docs (push) Successful in 6s
Documentation Validation / validate-policies-strict (push) Successful in 2s
Integration Tests / test-service-integration (push) Successful in 40s
Multi-Node Blockchain Health Monitoring / health-check (push) Successful in 1s
P2P Network Verification / p2p-verification (push) Successful in 2s
Production Tests / Production Integration Tests (push) Successful in 21s
Python Tests / test-python (push) Successful in 13s
Security Scanning / security-scan (push) Failing after 46s
Smart Contract Tests / test-solidity (map[name:aitbc-token path:packages/solidity/aitbc-token]) (push) Successful in 17s
Smart Contract Tests / lint-solidity (push) Successful in 10s

- Add sys import to 29 test files across agent-coordinator, blockchain-event-bridge, blockchain-node, and coordinator-api
- Remove apps/blockchain-event-bridge/tests/test_integration.py (obsolete bridge integration tests)
- Remove apps/coordinator-api/tests/test_integration.py (obsolete API integration tests)
- Implement GPU registration in marketplace_gpu.py with GPURegistry model persistence
This commit is contained in:
aitbc
2026-04-23 16:43:17 +02:00
parent b8b1454573
commit e60cc3226c
134 changed files with 14321 additions and 1873 deletions

View File

@@ -20,6 +20,27 @@ sys.path.insert(0, str(project_root / "packages" / "py" / "aitbc-sdk" / "src"))
sys.path.insert(0, str(project_root / "apps" / "coordinator-api" / "src"))
sys.path.insert(0, str(project_root / "apps" / "wallet-daemon" / "src"))
sys.path.insert(0, str(project_root / "apps" / "blockchain-node" / "src"))
sys.path.insert(0, str(project_root / "apps" / "monitor"))
sys.path.insert(0, str(project_root / "apps" / "ai-engine" / "src"))
sys.path.insert(0, str(project_root / "apps" / "simple-explorer"))
sys.path.insert(0, str(project_root / "apps" / "zk-circuits"))
sys.path.insert(0, str(project_root / "apps" / "exchange-integration"))
sys.path.insert(0, str(project_root / "apps" / "compliance-service"))
sys.path.insert(0, str(project_root / "apps" / "plugin-registry"))
sys.path.insert(0, str(project_root / "apps" / "trading-engine"))
sys.path.insert(0, str(project_root / "apps" / "plugin-security"))
sys.path.insert(0, str(project_root / "apps" / "plugin-analytics"))
sys.path.insert(0, str(project_root / "apps" / "global-infrastructure"))
sys.path.insert(0, str(project_root / "apps" / "plugin-marketplace"))
sys.path.insert(0, str(project_root / "apps" / "multi-region-load-balancer"))
sys.path.insert(0, str(project_root / "apps" / "global-ai-agents"))
sys.path.insert(0, str(project_root / "apps" / "miner"))
sys.path.insert(0, str(project_root / "apps" / "marketplace"))
sys.path.insert(0, str(project_root / "apps" / "agent-services" / "agent-registry" / "src"))
sys.path.insert(0, str(project_root / "apps" / "blockchain-explorer"))
sys.path.insert(0, str(project_root / "apps" / "exchange"))
sys.path.insert(0, str(project_root / "apps" / "blockchain-event-bridge"))
sys.path.insert(0, str(project_root / "apps" / "coordinator-api"))
# Set up test environment
os.environ["TEST_MODE"] = "true"