A Northampton teacher was diagnosed with a brain tumour after she could not read a single letter during her eye test.