Skip to content

Commit 2211972

Browse files
committed
remove extra test
1 parent 96f9b77 commit 2211972

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

test/auth_oidc/test_auth_oidc.py

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -263,15 +263,6 @@ def test_1_8_machine_idp_human_callback(self):
263263
# Close the client.
264264
client.close()
265265

266-
def test_1_9_non_default_allowed_host_errors(self):
267-
# Create a MongoCredential for OIDC with a human callback.
268-
props = {"OIDC_HUMAN_CALLBACK": self.create_request_cb()}
269-
extra = dict(authmechanismproperties=props)
270-
mongo_creds = _build_credentials_tuple("MONGODB-OIDC", None, "", None, extra, "test")
271-
# Assert that creating an authenticator for example.com results in a client error.
272-
with self.assertRaises(ConfigurationError):
273-
_get_authenticator(mongo_creds, ("example.com", 30))
274-
275266
def test_2_1_valid_callback_inputs(self):
276267
# Create a MongoClient with a human callback that validates its inputs and returns a valid access token.
277268
client = self.create_client()

0 commit comments

Comments
 (0)