(self, _)
| 392 | |
| 393 | @unittest.mock.patch('hashlib.md5', side_effect=ValueError("no md5")) |
| 394 | async def test_auth_md5_unsupported(self, _): |
| 395 | with self.assertRaisesRegex( |
| 396 | exceptions.InternalClientError, |
| 397 | ".*no md5.*", |
| 398 | ): |
| 399 | await self.connect(user='md5_user', password=CORRECT_PASSWORD) |
| 400 | |
| 401 | |
| 402 | @unittest.skipIf( |