async def METHOD_NAME(self):
    """
    save user 'mary' with her password hashed using the legacy algorithm (hashlib.md5), try to authenticate her,
    update her password using the new default method, check whether the new hash has proper format, try to
    authenticate using the new password
    """
    await self.mock_redis_plugin.add_user_old_hashing(
        2, 'mary', 'maryspassword', 'Mary', 'White', 'mary.white@localhost')
    msg = "wrong length of pwd_hash created using the legacy method"
    self.assertEqual(len((await self.auth_handler._find_user('mary')).get('pwd_hash')), 32, msg)
    msg = "failed to authenticate using the old hashing method"
    self.assertEqual('mary', (await self.auth_handler.validate_user(
        self.dummy_plugin_ctx, 'mary', 'maryspassword')).get('user'), msg)
    await self.auth_handler.update_user_password(self.dummy_plugin_ctx, 2, 'marysnewpassword')
    split_new = split_pwd_hash((await self.auth_handler._find_user('mary')).get('pwd_hash'))
    msg = "the password update method failed"
    self.assertTrue(len(split_new['salt']) > 0)
    self.assertTrue(len(split_new['data']) == 2 * split_new['keylen'], msg)
    msg = "failed to authenticate using the new hashing method"
    self.assertEqual('mary', (await self.auth_handler.validate_user(
        self.dummy_plugin_ctx, 'mary', 'marysnewpassword')).get('user'), msg)