def METHOD_NAME(self):
    """Verify learners account recovery using config model."""
    lines = 'username,current_email,desired_email\namy,amy@edx.com,amy@newemail.com\n'
    csv_file = SimpleUploadedFile(name='test.csv', content=lines.encode('utf-8'), content_type='text/csv')
    AccountRecoveryConfiguration.objects.create(enabled=True, csv_file=csv_file)
    call_command("recover_account")
    email = get_user_model().objects.get(pk=self.user.pk).email
    assert email == 'amy@newemail.com'