Skip to content

PYTHON-4521 Example transition of an existing test to an async one #1702

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

Merged
merged 7 commits into from
Jul 30, 2024

Conversation

NoahStapp
Copy link
Contributor

This PR shows the work required to convert https://github.com/mongodb/mongo-python-driver/blob/8fbf84d314d18c2ce6e897e5d1bdd21f2493e409/test/test_logger.py to be asynchronous as well as generate the synchronous version.

@blink1073
Copy link
Member

Can we remove the top level test_logger.py as part of this?

@NoahStapp
Copy link
Contributor Author

NoahStapp commented Jun 25, 2024

Can we remove the top level test_logger.py as part of this?

Good point, I've added automated running of the test/synchronous directory to #1699 so we can start removing the top-level test files as they're converted. Once that's merged I'll remove the top-level test_logger.py here.

@blink1073
Copy link
Member

@NoahStapp this should be ready for an update now.

@NoahStapp
Copy link
Contributor Author

@NoahStapp this should be ready for an update now.

Updated, still need #1718 to be merged for the final version.

Jibola
Jibola previously approved these changes Jul 17, 2024
Copy link
Contributor

@Jibola Jibola left a comment

Choose a reason for hiding this comment

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

LGTM!

@NoahStapp NoahStapp merged commit d79eee5 into mongodb:master Jul 30, 2024
33 checks passed
@NoahStapp NoahStapp deleted the PYTHON-4521 branch July 30, 2024 22:09
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.

4 participants