do i need my divring light to pass an VA state insepction on 1997 Subaru Legacy Outback

the lens has falling off of the small round light under the headlight on the driver side.I need to get car insepcted will it pass? do I have to have those light?

If it's emissions only, I'd say no. If it's a general safety inspection, then yes. I'm in CA and don't know what your inspections are like in VA.
If you want to find a specialist, here's a directory link for you: