Files
routstr-core/tests/integration/.env.example
T

31 lines
911 B
Bash

# Integration Test Environment Configuration
# Set to "true" to use real Cashu mint instance instead of mock
USE_REAL_MINT=false
# URL of the Cashu mint instance (when USE_REAL_MINT=true)
# For local mint: http://localhost:3338
# For production mint: https://mint.minibits.cash/Bitcoin
MINT_URL=http://localhost:3338
# Database configuration (automatically set by tests)
# DATABASE_URL=sqlite+aiosqlite:///:memory:
# Upstream configuration (for mocking LLM responses)
UPSTREAM_BASE_URL=https://api.openai.com/v1
UPSTREAM_API_KEY=test-upstream-key
# Other test configuration
INTEGRATION_TEST=true
LOG_LEVEL=DEBUG
TEST_TIMEOUT=30
CONCURRENT_TEST_LIMIT=10
# Cashu wallet configuration
RECEIVE_LN_ADDRESS=test@routstr.com
REFUND_PROCESSING_INTERVAL=3600
NSEC=nsec1vl029mgpspedva04g90vltkh6fvh240zqtv9k0t9af8935ke9laqsnlfe5
COST_PER_REQUEST=10
MODEL_BASED_PRICING=true
MINIMUM_PAYOUT=1000
PAYOUT_INTERVAL=86400