Skip to content

Conversation

@blink1073
Copy link
Member

No description provided.

self,
new_name: str,
new_name: Optional[str] = None,
to: Optional[str] = None,
Copy link
Member

@ShaneHarvey ShaneHarvey Apr 12, 2022

Choose a reason for hiding this comment

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

I assume you only added "to" so that the new test would pass. Since we already have "new_name" we don't need a "to" parameter. Let's remove it and instead change the unified test runner to translate the "to" parameter to "new_name". We already do this kind of parameter translation here:

def prepare_spec_arguments(spec, arguments, opname, entity_map, with_txn_callback):

Copy link
Member Author

Choose a reason for hiding this comment

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

Oh good, will do

Copy link
Contributor

@juliusgeo juliusgeo left a comment

Choose a reason for hiding this comment

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

LGTM!

@blink1073
Copy link
Member Author

Both failures are transient (centos URL and test_dns.TestDNSRepl.test_loadBalanced-false-txt).

@blink1073 blink1073 merged commit 21ead3a into mongodb:master May 6, 2022
@blink1073 blink1073 deleted the PYTHON-3189 branch May 6, 2022 21:48
juliusgeo pushed a commit to juliusgeo/mongo-python-driver that referenced this pull request Jun 29, 2022
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.

3 participants