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

✅ Refactor tests for duplicate operation ID generation for compatibility with other tools running the FastAPI test suite #10876

Merged
merged 3 commits into from Jan 13, 2024

Conversation

emmettbutler
Copy link
Contributor

This pull request fixes a failure of test_warn_duplicate_operation_id that occurs when it runs under Datadog's ddtrace-run runtime wrapper. This failure was induced by the changes in DataDog/dd-trace-py#7957, which add a deprecation warning for an internal Datadog feature.

This change makes sense to merge because the possibility of wrapper libraries emitting warnings is not limited to dd-trace-py.

@tiangolo tiangolo changed the title make test_warn_duplicate_operation_id tolerate warning messages from third-party runtime wrappers ✅ Refactor tests for duplicate operation ID generation for compatibility with other tools running the FastAPI test suite Jan 13, 2024
@tiangolo
Copy link
Owner

Cool, thanks @emmettbutler! 🚀

@tiangolo tiangolo enabled auto-merge (squash) January 13, 2024 15:05
@tiangolo tiangolo merged commit f18eadb into tiangolo:master Jan 13, 2024
19 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants