Even before Lance, the UCI/WADA implemented among the toughest, if not the toughest, doping control schemes in sports.
The Bio Passport, automatic urine tests of winners and podium placers for each race. Random in-event controls, random out-of-competition tests, etc. Riders are required to report their whereabouts so that they can be randomly tested over a dozen times per year, wherever they may be. Multi-year suspensions for anyone testing positive and losing the appeal, to start. 4 year ban, I believe, on 2nd positive.
Compare that the NFL's pathetic drug policy, where players aren't even tested for recreational drugs during the season. And only a few-game suspension for getting caught.