The law only requires the seller of a used vehicle (whether dealership or private party) provide the buyer with a passing smog check certificate. Who pays for the smog check cost is a matter to be decided between the seller and buyer. Used car dealers rarely absorb the smog test cost. Instead they pass it on to the buyer and indicate such on the buyer's invoice. A private party can do the same thing if they choose, though rarely do.