(self, _)
| 383 | |
| 384 | @unittest.mock.patch('hashlib.md5', side_effect=ValueError("no md5")) |
| 385 | async def test_auth_md5_unsupported(self, _): |
| 386 | with self.assertRaisesRegex( |
| 387 | exceptions.InternalClientError, |
| 388 | ".*no md5.*", |
| 389 | ): |
| 390 | await self.connect(user='md5_user', password=CORRECT_PASSWORD) |
| 391 | |
| 392 | |
| 393 | @unittest.skipIf( |