Files
aitbc/apps/blockchain-node/fix_env_path.py
aitbc 119ab33a75
Some checks failed
Blockchain Synchronization Verification / sync-verification (push) Failing after 3s
Cross-Node Transaction Testing / transaction-test (push) Successful in 2s
Deploy to Testnet / deploy-testnet (push) Successful in 1m15s
Integration Tests / test-service-integration (push) Successful in 2m9s
Multi-Node Blockchain Health Monitoring / health-check (push) Successful in 2s
Multi-Node Stress Testing / stress-test (push) Successful in 3s
Node Failover Simulation / failover-test (push) Failing after 2s
P2P Network Verification / p2p-verification (push) Successful in 2s
Python Tests / test-python (push) Failing after 45s
Security Scanning / security-scan (push) Successful in 48s
Update fix_env_path.py to use blockchain.env instead of legacy .env
2026-05-09 19:48:48 +02:00

6 lines
290 B
Python

from pydantic_settings import BaseSettings, SettingsConfigDict
class TestSettings(BaseSettings):
model_config = SettingsConfigDict(env_file="/etc/aitbc/blockchain.env", env_file_encoding="utf-8", case_sensitive=False, extra="ignore")
db_path: str = ""
print(TestSettings().db_path)