O2 sensor out, check engine light on. How do I pass smog test?

I have a 99 Audi A4. Great car. Check engine light comes on, o2 sensor is out. $700 to replace. No other damage. Is there any way to pass the smog test without replacing this?

Would kinda defeat the purpose of a ‘smog’ test, now wouldn’t it?

I don’t understand. The sensor’s out, the car’s running fine. The check engine light prevents the test from going any further

Your check engine light is on because the sensor, which controls the amount of fuel getting to the engine and the performance of the catalytic converter, apparently isn’t working. That’s why having that light on is an automatic ‘fail’. $700 for an O2 sensor is very high. Is this from a dealer? If so, use the mechanic finder under ‘actual car info’ to find an independent mechanic in your area.

Ok, I get it now. Thank you.

You didn’t mention if it’s the V-6, or one of the Turbo 4 cylinder engines.

Anyway, you can buy the oxygen sensors for ~$100 each online.
Installing them is easy.

The 4 cylinder engines have 2 sensors, while the 6 cylinder cars have 4.

And no, you can’t pass an emissions test with a CEL on.
Can’t be done, unless you’re slipping the tester a bit of money.

BC.