<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def validate_csrf_token(self, field):
 """Disable CRSF proection during testing."""

        if current_app.testing:
            return
        super(InvenioBaseForm, self).validate_csrf_token(field)