UTI cause negative test

Hey yall, I may be crazy but can a UTI cause your pregnancy tests to be negative even if you're pregnant?