Skip to content

Conversation

blink1073
Copy link
Member

No description provided.

@blink1073 blink1073 requested a review from NoahStapp October 29, 2024 15:41
@blink1073 blink1073 merged commit dfb6a9a into mongodb:master Oct 29, 2024
30 of 31 checks passed
@blink1073 blink1073 deleted the PYTHON-4209 branch October 29, 2024 16:08
saslSupportedMechs=["SCRAM-SHA-256", "does_not_exist"],
)
client = MongoClient(
server.uri, authmechanism="PLAIN", username="username", password="password"
Copy link
Member

Choose a reason for hiding this comment

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

I think this test may be flawed. A client only negotiates the auth mechanism if authmechanism is not supplied but this test sets authmechanism="PLAIN". Instead it should create the client without authmechanism or set authmechanism="DEFAULT".

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