Can UTI tests detect pregnancy?

Elizabeth

This is the second month in a row I’ve missed my period, but last month I chalked it up to hormone screwiness since I was on antibiotics for a UTI. When I got rechecked ten days later, the urine test (looking for UTI) showed nothing. Would something have shown up if I were pregnant?