I did have a yeast infection about a week before I had a positive HPT. Could be a coincidence but who knows!
Yeast infections aren't a sign of pregnancy. I think you should probably treat the yeast infection first and look into other pregnancy symptoms you might have. Best of luck!