          class MockView(View):
              resource = DisabledFormResource
  
          view = MockView()
          content = {'qwerty':'uiop'}
          self.assertEqual(FormResource(view).validate_request(content, None), content)
  
      def test_disabled_form_validator_get_bound_form_returns_none(self):
          """If the view's form attribute is None on then
          FormValidator(view).get_bound_form(content) should just return None."""
 
</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) </s> remove         content = {'qwerty':'uiop'}
 </s> add         content = {'qwerty': 'uiop'} </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                 return self.cleaned_data  #pragma: no cover
 </s> add                 return self.cleaned_data
        content = {'qwerty': 'uiop'}
          class MockView(View):
              resource = DisabledFormResource
  
          view = MockView()
        content = {'qwerty': 'uiop'}
          self.assertEqual(FormResource(view).validate_request(content, None), content)
  
      def test_disabled_form_validator_get_bound_form_returns_none(self):
          """If the view's form attribute is None on then
          FormValidator(view).get_bound_form(content) should just return None."""
keep keep keep keep replace keep keep keep keep keep
 Fix tests to work on all supported configurations. 
djangorestframework/tests/validators.py