Files
aitbc/tests/verification
aitbc 9b274d4386
Some checks failed
Python Tests / test-python (push) Failing after 43s
feat: migrate tests to use centralized aitbc package utilities
- 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
..
2026-04-21 21:15:27 +02:00
2026-04-21 21:15:27 +02:00

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.