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

PYTHON-4530 - Move synchronized test code into top-level test directory #1718

Merged
merged 4 commits into from
Jul 2, 2024

Conversation

NoahStapp
Copy link
Contributor

@NoahStapp NoahStapp commented Jun 27, 2024

Once all the tests are converted, we will move them in a single commit to test/synchronous.

@NoahStapp NoahStapp requested a review from ShaneHarvey June 27, 2024 19:37
@NoahStapp NoahStapp changed the title PYTHON-4530 - Move synchronized test code to in top-level test directory PYTHON-4530 - Move synchronized test code into top-level test directory Jun 27, 2024
Copy link
Member

@ShaneHarvey ShaneHarvey left a comment

Choose a reason for hiding this comment

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

Nice!

test/shared.py Outdated
@@ -0,0 +1,367 @@
# Copyright 2010-present MongoDB, Inc.
Copy link
Member

Choose a reason for hiding this comment

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

Any alternative names for this file? “Shared.py” is pretty generic.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

What if we combine test/utils.py and this new file? Having multiple files that have effectively the same purpose seems unnecessary.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Renamed to test/helpers.py for now, we can revisit down the road.

@NoahStapp NoahStapp requested a review from blink1073 July 1, 2024 21:33
Copy link
Member

@blink1073 blink1073 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 cfa215c into mongodb:master Jul 2, 2024
31 of 33 checks passed
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.

None yet

3 participants