automated terminal push

This commit is contained in:
lenape
2025-08-06 04:24:23 +00:00
parent 5740759547
commit 57b7dfecfb

View File

@@ -230,18 +230,18 @@ sonar.terraform.provider.aws=true
# Test Flask app imports and basic functionality # Test Flask app imports and basic functionality
echo "🧪 Testing Flask application..." echo "🧪 Testing Flask application..."
python -c " python -c "
import sys import sys
sys.path.append('.') sys.path.append('.')
from app import app from app import app
print('✅ Flask app import successful') print('✅ Flask app import successful')
# Test app creation # Test app creation
with app.test_client() as client: with app.test_client() as client:
response = client.get('/health') response = client.get('/health')
assert response.status_code == 200 assert response.status_code == 200
print('✅ Health endpoint test passed') print('✅ Health endpoint test passed')
print(f'Health response: {response.get_json()}') print(f'Health response: {response.get_json()}')
" "
echo "✅ Application tests completed" echo "✅ Application tests completed"