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.
This commit is contained in:
+1
-1
@@ -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,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user