          self.assertRaises(ErrorResponse, 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))
  
 
</s> remove         content = {'qwerty': 'example', 'uiop':'example', 'readonly': 'read only', 'extra': 'extra'}
 </s> add         content = {'qwerty': 'example', 'uiop': 'example', 'readonly': 'read only', 'extra': 'extra'} </s> remove         content = {'qwerty':'example', 'uiop': 'example', 'readonly': 'read only'}
 </s> add         content = {'qwerty': 'example', 'uiop': 'example', 'readonly': 'read only'} </s> remove         content = {'qwerty':'example', 'uiop': 'example'}
 </s> add         content = {'qwerty': 'example', 'uiop': 'example'} </s> remove         content = {'qwerty':'uiop'}
 </s> add         content = {'qwerty': 'uiop'} </s> remove         content = {'qwerty':'uiop'}
        self.assertEqual(ModelResource(view).get_bound_form(content), None)#
 </s> add         content = {'qwerty': 'uiop'}
        self.assertEqual(ModelResource(view).get_bound_form(content), None)
        content = {'qwerty': 'example', 'readonly': 'read only'}
          self.assertRaises(ErrorResponse, 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
 Fix tests to work on all supported configurations. 
djangorestframework/tests/validators.py