              form = MockForm
  
          class MockModelFormValidator(ModelFormValidatorMixin):
              form = MockForm
          
          self.MockFormValidator = MockFormValidator
          self.MockModelFormValidator = MockModelFormValidator       
  
  
      def validation_returns_content_unchanged_if_already_valid_and_clean(self, validator):
          """If the content is already valid and clean then validate(content) should just return the content unmodified."""
          content = {'qwerty':'uiop'}
 
</s> remove 
        class MockModelFormValidator(ModelFormValidatorMixin):
 </s> add             validators = (FormValidator,)
 
        class MockModelFormView(object): </s> remove         """If the form attribute is None on FormValidatorMixin then validate(content) should just return the content unmodified."""
        class DisabledModelFormValidator(ModelFormValidatorMixin):
 </s> add         """If the view's form and model attributes are None then
        ModelFormValidator(view).validate(content) should just return the content unmodified."""
        class DisabledModelFormView(object): </s> remove         content = {'qwerty':'uiop'}     
        self.assertEqual(DisabledFormValidator().get_bound_form(content), None)
 </s> add         view = DisabledFormView()
        content = {'qwerty':'uiop'}       
        self.assertEqual(FormValidator(view).get_bound_form(content), None) </s> remove         """If the form attribute is None on FormValidatorMixin then validate(content) should just return the content unmodified."""
        class DisabledFormValidator(FormValidatorMixin):
 </s> add         """If the view's form attribute is None then FormValidator(view).validate(content)
        should just return the content unmodified."""
        class DisabledFormView(object): </s> remove         """If the form attribute is None on FormValidatorMixin then get_bound_form(content) should just return None."""
        class DisabledFormValidator(FormValidatorMixin):
 </s> add         """If the view's form attribute is None on then
        FormValidator(view).get_bound_form(content) should just return None."""
        class DisabledFormView(object):
            validators = (ModelFormValidator,)
         
        self.MockFormView = MockFormView
        self.MockModelFormView = MockModelFormView       
              form = MockForm
  
          class MockModelFormValidator(ModelFormValidatorMixin):
              form = MockForm
            validators = (ModelFormValidator,)
         
        self.MockFormView = MockFormView
        self.MockModelFormView = MockModelFormView       
            validators = (ModelFormValidator,)
         
        self.MockFormView = MockFormView
        self.MockModelFormView = MockModelFormView       
            validators = (ModelFormValidator,)
         
        self.MockFormView = MockFormView
        self.MockModelFormView = MockModelFormView       
  
  
      def validation_returns_content_unchanged_if_already_valid_and_clean(self, validator):
          """If the content is already valid and clean then validate(content) should just return the content unmodified."""
          content = {'qwerty':'uiop'}
keep keep keep keep replace replace replace keep keep keep keep keep
 Lots of validator tests passing after refactor 
djangorestframework/tests/validators.py