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
echo "🧪 Testing Flask application..."
python -c "
import sys
sys.path.append('.')
from app import app
print('✅ Flask app import successful')
python -c "
import sys
sys.path.append('.')
from app import app
print('✅ Flask app import successful')
# Test app creation
with app.test_client() as client:
response = client.get('/health')
assert response.status_code == 200
print('✅ Health endpoint test passed')
print(f'Health response: {response.get_json()}')
# Test app creation
with app.test_client() as client:
response = client.get('/health')
assert response.status_code == 200
print('✅ Health endpoint test passed')
print(f'Health response: {response.get_json()}')
"
echo "✅ Application tests completed"