Skip to content

Commit b632bad

Browse files
committed
type errors
1 parent d8820a5 commit b632bad

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/auth_oidc/test_auth_oidc.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -859,15 +859,15 @@ def test_2_6_ALLOWED_HOSTS_defaults_ignored(self):
859859
# Create a MongoCredential for OIDC with a machine callback.
860860
props = {"OIDC_CALLBACK": self.create_request_cb()}
861861
extra = dict(authmechanismproperties=props)
862-
mongo_creds = _build_credentials_tuple("MONGODB-OIDC", None, "foo", None, extra, "test")
862+
mongo_creds = _build_credentials_tuple("MONGODB-OIDC", "", "foo", "", extra, "test")
863863
# Assert that creating an authenticator for example.com does not result in an error.
864864
authenticator = _get_authenticator(mongo_creds, ("example.com", 30))
865865
assert authenticator.properties.username == "foo"
866866

867867
# Create a MongoCredential for OIDC with an ENVIRONMENT.
868868
props = {"ENVIRONMENT": "test"}
869869
extra = dict(authmechanismproperties=props)
870-
mongo_creds = _build_credentials_tuple("MONGODB-OIDC", None, None, None, extra, "test")
870+
mongo_creds = _build_credentials_tuple("MONGODB-OIDC", "", "", "", extra, "test")
871871
# Assert that creating an authenticator for example.com does not result in an error.
872872
authenticator = _get_authenticator(mongo_creds, ("example.com", 30))
873873
assert authenticator.properties.username is None

0 commit comments

Comments
 (0)