While testosterone treatment may increase sexual interest, there appears to be no significant influence on erectile function in men with normal testosterone levels.
Sources:
American Urological Association. Management of Erectile Dysfunction Clinical Practice Guideline [Internet]. Linthicum (MD): AUA; 2011 [cited 2017 May 5].