You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Django Admin URLs of dj-stripe found many Internal Server Errors (500) while testing using django-smoke-tests.
It can be GET, PUT, POST, or DELETE. If the URL is not valid, should not return any Internal Server Errors.
This will lead alert fatigues when someone randomly hit the dj-stripe urls in django admin. Especially for anonymous user.
Add the "django_smoke_tests" to the INSTALLED_APPS.
Then run the command python manage.py smoke_tests --allow-status-codes=200,201,204,301,302,304,400,401,403,405,415
Software versions
Dj-Stripe version: Any Version
Python version: 3.8
Django version: 3.2
Stripe API version: Any
Database type and version: Postgres
Temporary Solution
Right now I'm using the SKIP_SMOKE_TESTS to add any URLs that has errors. But, that's not good approach because of dj-stripe have many models, also I need to deep debug which urls that need to be added.
Describe the bug
Django Admin URLs of dj-stripe found many Internal Server Errors (500) while testing using django-smoke-tests.
It can be GET, PUT, POST, or DELETE. If the URL is not valid, should not return any Internal Server Errors.
This will lead alert fatigues when someone randomly hit the dj-stripe urls in django admin. Especially for anonymous user.
To Reproduce
pip install django-smoke-tests
"django_smoke_tests"
to theINSTALLED_APPS
.python manage.py smoke_tests --allow-status-codes=200,201,204,301,302,304,400,401,403,405,415
Software versions
Temporary Solution
Right now I'm using the
SKIP_SMOKE_TESTS
to add any URLs that has errors. But, that's not good approach because of dj-stripe have many models, also I need to deep debug which urls that need to be added.For example:
"djstripe_custom_action"
.The text was updated successfully, but these errors were encountered: