Skip to content

Cleaning up ASGI tests for Django#3180

Merged
antonpirker merged 2 commits intomasterfrom
antonpirker/improve-django-asgi-tests
Jun 18, 2024
Merged

Cleaning up ASGI tests for Django#3180
antonpirker merged 2 commits intomasterfrom
antonpirker/improve-django-asgi-tests

Conversation

@antonpirker
Copy link
Copy Markdown
Contributor

@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
Copy Markdown
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
@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