Yes if you take in enough smoke its the same as getting addicted to cigarettes from secondhand smoke. Either way if you're taking in enough smoke and it's within a month of your drug test, the THC will show up on the drug test.
It is very unlikely that you will fail your drug test. In order to really fail or come up positive for Marijuana on a drug test, you'd have to inhaled the drug itself and gotten high off of it.Second...