I assume you finished the SMOG test by now. Basically, as long as you do not have huge vacuum leaks, your O2 sensor is functioning properly and there's a marginally functional catalytic converter installed, you should pass.
I had failed once in the past, but I had vacuum leaks, an improperly installed wide-band O2 sensor and a mostly dead catalytic converter (from the first 2 items pushing raw gas into it). A new cat, even with the other problems, made me pass with flying colors (and then the cat was dead again in 2 years...bit I fixed everything before replacing it).