Commit Graph

3 Commits

Author SHA1 Message Date
aitbc
0081b9ee4d feat: migrate tests to use centralized aitbc package utilities
Some checks failed
Python Tests / test-python (push) Failing after 10s
P2P Network Verification / p2p-verification (push) Successful in 7s
Multi-Node Blockchain Health Monitoring / health-check (push) Successful in 7s
- Migrate HTTP client usage from httpx/requests to aitbc.AITBCHTTPClient
- Update test_payment_integration.py to use AITBCHTTPClient and get_logger
- Fix typo in test_cross_node_blockchain.py (NetworkErroration -> NetworkError)
- Add aitbc validators to test_model_validation.py (validate_address, validate_hash)
- conftest.py already uses aitbc path utilities (get_data_path, get_log_path)
- Other test files already migrated (test_tx_import, test_simple_import, test_minimal, test_block_import_complete, verify_transactions_fixed)
2026-04-24 21:50:35 +02:00
aitbc
9b274d4386 feat: migrate tests to use centralized aitbc package utilities
Some checks failed
Python Tests / test-python (push) Failing after 43s
- Migrate HTTP client usage from requests to aitbc.AITBCHTTPClient in test files
- Update conftest.py to use aitbc path utilities (get_data_path, get_log_path)
- Update test_model_validation.py to use aitbc validators (validate_address, validate_hash)
- Skip HTML scraping files that require raw requests (verify_toggle_removed.py)
- Migrated files: test_payment_integration.py, test_cross_node_blockchain.py, verify_transactions_fixed.py, test_tx_import.py, test_simple_import.py, test_minimal.py, test_block_import_complete.py
2026-04-24 21:45:18 +02:00
aitbc
51920a15d7 Add chain_id field to all block import test requests
All checks were successful
Python Tests / test-python (push) Successful in 10s
- Add chain_id parameter to importBlock requests in all verification tests
- Update test_block_import.py to use high block heights to avoid conflicts with existing chain
- Simplify test_block_import.py to focus on core validation (hash, parent, conflict)
- Fix test_block_import_complete.py to use head block instead of block 1 for existing block test
- Update expected response format from status field to success field
2026-04-22 15:05:23 +02:00