We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fdd572d commit 36af338Copy full SHA for 36af338
test/auth_oidc/test_auth_oidc.py
@@ -1089,7 +1089,7 @@ def test_4_5_reauthentication_succeeds_when_a_session_is_involved(self):
1089
# Start a new session.
1090
with client.start_session() as session:
1091
# In the started session perform a `find` operation that succeeds.
1092
- client.test.test.find({}, session=session)
+ client.test.test.find_one({}, session=session)
1093
1094
# Assert that the callback was called 2 times (once during the connection handshake, and again during reauthentication).
1095
self.assertEqual(self.request_called, 2)
0 commit comments