You don't need the AIR pump for a smog check, if you're engine is warmed up. The pump only activates for a minute at most during cold starts, to reduce emissions ... then shuts down.
After that, emissions aren't affected one way or the other with or without AIR pump. Follow the electrical line coming off pump and you'll find the two pin connection near the right fender/wiper resevoir area and disconnect it.
I would add a disclaimer here, but I don't envision the EPA knocking on your door to check your AIR pump connection anytime soon.