Can a dr legally run my blood for pregnancy if i have an appt for a pre diabetes screening?

Im only curious. My bf is diabetic and he keeps claiming that i have it too (i do have a history of it in my family but usually occuring later in life) and i was wondering since he keeps threatening that he's gonna have me tested, can the dr also use my blood to test for pregnancy? Again im only curious.