How long does the computer take to pass emissions test after being reset? on 2009 Hyundai Santa Fe

I replaced the Vapor Canister because my vehicle had a Check Engine light on when I took to get Emissions test. I tried taking in to get tested twice after replacing and the testing said Not Ready. The code was P0441. I have driven my car for the passed 3 weeks. My mechanic said to keep driving it around. Is this true?

Asked by for the 2009 Hyundai Santa Fe