Anyway of temporarily turning off light for inspection?
Turning off engine light on 2002 Mitsubishi Lancer
Turning off the light doesn't get rid of the problem, and the computer that is connected to the vehicle during the inspection may be smarter than that. Your best bet is to get a scan tool, read the codes that turned on the light, write them down, then erase the codes. If the light comes back on you will have to diagnose and repair the problem before it will pass inspection.