You should file a motion to compel your spouse to take the parenting class.  If your spouse still refustes, file a contempt and a motion to waive the requirement.