      
      def test_validate_does_not_require_blankable_fields_on_model_forms(self):
          """Test standard ModelForm validation behaviour - fields with blank=True are not required."""
          content = {'qwerty':'example', 'readonly': 'read only'}
          self.validator.validate(content)
      
      def test_model_form_validator_uses_model_forms(self):
          self.assertTrue(isinstance(self.validator.get_bound_form(), forms.ModelForm))
  
  
 
</s> remove         self.assertRaises(ErrorResponse, self.validator.validate, content)
 </s> add         self.assertRaises(ErrorResponse, self.validator.validate_request, content, None) </s> remove         self.assertEqual(self.validator.validate(content), content)
 </s> add         self.assertEqual(self.validator.validate_request(content, None), content) </s> remove         self.validator = ModelFormValidator(MockView)
 </s> add         self.validator = MockResource(MockView) </s> remove         content = {'qwerty': 'example', 'uiop':'example', 'readonly': 'read only', 'extra': 'extra'} 
        self.assertRaises(ErrorResponse, self.validator.validate, content)
 </s> add         content = {'qwerty': 'example', 'uiop':'example', 'readonly': 'read only', 'extra': 'extra'}
        self.assertRaises(ErrorResponse, self.validator.validate_request, content, None) </s> remove         self.assertEqual(self.validator.validate(content), content)
 </s> add         self.assertEqual(self.validator.validate_request(content, None), content)
        self.validator.validate_request(content, None)
      
      def test_validate_does_not_require_blankable_fields_on_model_forms(self):
          """Test standard ModelForm validation behaviour - fields with blank=True are not required."""
          content = {'qwerty':'example', 'readonly': 'read only'}
        self.validator.validate_request(content, None)
      
      def test_model_form_validator_uses_model_forms(self):
          self.assertTrue(isinstance(self.validator.get_bound_form(), forms.ModelForm))
  
  
keep keep keep keep replace keep keep keep keep keep
 validators tests -> resources tests 
djangorestframework/tests/validators.py