Do Olympics and TDF test for the same drugs?

Clearly, there’s an implication in my question.

But I’m just wondering if anyone has the straight dope about that?

Is this thing that Tyler got nabbed for something TDF doesn’t test for?

If LA was using something similar, why would he duck out of the Olympics and NOT Hamilton? Surely Hamilton knows the risks as well.