Resolve obfuscated password warnings, merge use of the field

This commit is contained in:
shamoon
2024-11-30 10:48:07 -08:00
parent 627d0ac9cf
commit 880dc7b34c
3 changed files with 7 additions and 18 deletions

View File

@@ -64,7 +64,7 @@ class TestAPIMailAccounts(DirectoriesMixin, APITestCase):
self.assertEqual(returned_account1["username"], account1.username)
self.assertEqual(
returned_account1["password"],
"*" * len(account1.password),
"**********",
)
self.assertEqual(returned_account1["imap_server"], account1.imap_server)
self.assertEqual(returned_account1["imap_port"], account1.imap_port)