      def test_extra_fields_not_allowed_on_model_forms(self):
          """If some (otherwise valid) content includes fields that are not in the form then validation should fail.
          It might be okay on normal form submission, but for Web APIs we oughta get strict, as it'll help show up
          broken clients more easily (eg submitting content with a misnamed field)"""
          content = {'qwerty': 'example', 'uiop':'example', 'readonly': 'read only', 'extra': 'extra'}
          self.assertRaises(ErrorResponse, self.validator.validate_request, content, None)
  
      def test_validate_requires_fields_on_model_forms(self):
          """If some (otherwise valid) content includes fields that are not in the form then validation should fail.
          It might be okay on normal form submission, but for Web APIs we oughta get strict, as it'll help show up
 
</s> remove         content = {'qwerty':'example', 'uiop': 'example'}
 </s> add         content = {'qwerty': 'example', 'uiop': 'example'} </s> remove         content = {'qwerty':'example', 'readonly': 'read only'}
 </s> add         content = {'qwerty': 'example', 'readonly': 'read only'} </s> remove         content = {'qwerty':'example', 'uiop': 'example', 'readonly': 'read only'}
 </s> add         content = {'qwerty': 'example', 'uiop': 'example', 'readonly': 'read only'} </s> remove         content = {'qwerty':'uiop'}
 </s> add         content = {'qwerty': 'uiop'} </s> remove         content = {'qwerty':'uiop'}
 </s> add         content = {'qwerty': 'uiop'}
        content = {'qwerty': 'example', 'uiop': 'example', 'readonly': 'read only', 'extra': 'extra'}
      def test_extra_fields_not_allowed_on_model_forms(self):
          """If some (otherwise valid) content includes fields that are not in the form then validation should fail.
          It might be okay on normal form submission, but for Web APIs we oughta get strict, as it'll help show up
          broken clients more easily (eg submitting content with a misnamed field)"""
        content = {'qwerty': 'example', 'uiop': 'example', 'readonly': 'read only', 'extra': 'extra'}
          self.assertRaises(ErrorResponse, self.validator.validate_request, content, None)
  
      def test_validate_requires_fields_on_model_forms(self):
          """If some (otherwise valid) content includes fields that are not in the form then validation should fail.
          It might be okay on normal form submission, but for Web APIs we oughta get strict, as it'll help show up
keep keep keep keep replace keep keep keep keep keep
 Fix tests to work on all supported configurations. 
djangorestframework/tests/validators.py