Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cleaning up ASGI tests for Django #3180

Merged
merged 2 commits into from
Jun 18, 2024

Conversation

antonpirker
Copy link
Member

@antonpirker antonpirker commented Jun 18, 2024

Cleaning up the ASGI tests for Django. Making sure it is always wait()ed for the application to finish and also made the tests a bit more readable and removed some useless asserts.

Fixes #3142

Copy link
Contributor

@sentrivana sentrivana left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice! Good cleanup too.

@antonpirker antonpirker merged commit 56d2cc6 into master Jun 18, 2024
111 checks passed
@antonpirker antonpirker deleted the antonpirker/improve-django-asgi-tests branch June 18, 2024 14:24
sentrivana pushed a commit that referenced this pull request Jun 19, 2024
Cleaning up the ASGI tests for Django. Making sure it is always `wait()`ed for the application to finish and also made the tests a bit more readable and removed some useless asserts.

Fixes #3142
arjennienhuis pushed a commit to arjennienhuis/sentry-python that referenced this pull request Sep 30, 2024
Cleaning up the ASGI tests for Django. Making sure it is always `wait()`ed for the application to finish and also made the tests a bit more readable and removed some useless asserts.

Fixes getsentry#3142
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Django ASGI based async views do not create Transactions
2 participants