  from django import forms
  from django.db import models
  from django.test import TestCase
  from djangorestframework.compat import RequestFactory
  from djangorestframework.validators import BaseValidator, FormValidator, ModelFormValidator
  from djangorestframework.response import ErrorResponse
  from djangorestframework.views import BaseView
  from djangorestframework.resources import Resource
  
  
 
</s> remove class TestValidatorMixinInterfaces(TestCase):
    """Basic tests to ensure that the ValidatorMixin classes expose the expected interfaces"""

    def test_validator_mixin_interface(self):
        """Ensure the ValidatorMixin base class interface is as expected."""
        self.assertRaises(NotImplementedError, BaseValidator(None).validate, None)

 </s> add  </s> remove         self.validator.validate(content)
 </s> add         self.validator.validate_request(content, None) </s> remove         self.assertRaises(ErrorResponse, self.validator.validate, content)
 </s> add         self.assertRaises(ErrorResponse, self.validator.validate_request, content, None) </s> remove             return super(ModelFormValidator, self).get_bound_form(data, files)
 </s> add             return super(ModelResource, self).get_bound_form(data, files)
from djangorestframework.resources import Resource, FormResource, ModelResource
  from django import forms
  from django.db import models
  from django.test import TestCase
  from djangorestframework.compat import RequestFactory
from djangorestframework.resources import Resource, FormResource, ModelResource
  from djangorestframework.response import ErrorResponse
  from djangorestframework.views import BaseView
  from djangorestframework.resources import Resource
  
  
keep keep keep keep replace keep keep keep keep keep
 validators tests -> resources tests 
djangorestframework/tests/validators.py