Ovulation test and pregnancy ?

If you’re pregnant will you still get a line on the ovulation test?