A woman accused of spying for Russia told a court her partner lied about having a brain tumour in order to lead a “double life”.