Check engine light and passing inspection?

My check engine light is on but if I reset it right before the inspection, will I pass? Do they plug in the code reader during the inspection?

I know that if I reset it by the battery, it takes about 30 miles for it to come on again. I only want to pass untilI I have enough money to fix the problem.

1999 honda accord ex
P0420
TEXAS

No there's something called monitors
Every time you start and drive your vehicle performs some tests on itself. The results… Pass or fail are stored. If those monitors are not all completed and no additional codes… You don't pass.
Seems somebody in the government anticipated this…

Nope we can pick up through our scanner that it has been rest. You will flunk till that problem is taken care off

Read this article on drive cycles and you'll learn why your car will never pass

http://ricksfreeautorepairadvice.com/readiness-monitors-and-drive-cycles/