Pregnancy Test (drugs)

Okay so on june 8 im scheduled for an appointment to get a vaccine. Last time i got the vaccine i had to take a pregnancy test (pee in a cup). So the questions are if i smoke weed today (june 3) will it show up in the test. Also, if im peeing in a cup for a pregnancy test would the doctors even be looking for thc?