Refactor VerifyPaymentView to include checks for payment status and user authorization. Update logging level in settings.py to suppress certain logs during testing. Add comprehensive tests for device management in DeviceAPITestCase.
All checks were successful
Build and Push Docker Images / Build and Push Docker Images (push) Successful in 2m23s

This commit is contained in:
2025-04-11 17:06:28 +05:00
parent b6303a2c23
commit b8d9f5cf87
4 changed files with 89 additions and 5 deletions

View File

@ -330,7 +330,7 @@ logging.config.dictConfig(
"propagate": False,
},
"django.request": {
"level": "WARNING",
"level": "ERROR", # Suppress 400/403/404 logs for test cases
"handlers": ["request"],
"propagate": False,
},