Skip to content

Commit 51b6b07

Browse files
authored
Update test to support pymongo change (#276)
1 parent 2f184a5 commit 51b6b07

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/backend_/utils/test_parse_uri.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ def test_test_kwarg(self):
9191
self.assertEqual(settings_dict["TEST"], {"NAME": "test_db"})
9292

9393
def test_invalid_credentials(self):
94-
msg = "The empty string is not valid username."
94+
msg = "The empty string is not valid username"
9595
with self.assertRaisesMessage(pymongo.errors.InvalidURI, msg):
9696
parse_uri("mongodb://:@localhost")
9797

0 commit comments

Comments
 (0)