Capacitor internal air pressure test principle