I tested this with very recent source, couple days ago. The enchanter pet, even a player one, will continue to attack the first mob on its hate list after a regular or AE mez. The others it does not attack.
The attack code should have a check if the attacker is a pet if any targets status isMezzed it should just return and not attack. Honestly, and ideally, bots would make the same check
