  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 ResponseException
  
  
  class TestValidatorMixinInterfaces(TestCase):
      """Basic tests to ensure that the ValidatorMixin classes expose the expected interfaces"""
  
 
</s> remove from djangorestframework.request import RequestMixin
 </s> add from djangorestframework.mixins import RequestMixin </s> remove from djangorestframework.request import RequestMixin
 </s> add from djangorestframework.mixins import RequestMixin </s> remove from djangorestframework.emitters import EmitterMixin, BaseEmitter
 </s> add from djangorestframework.emitters import BaseEmitter
from djangorestframework.mixins import ResponseMixin </s> remove from djangorestframework.emitters import EmitterMixin
from djangorestframework.response import Response, ResponseException
from djangorestframework.request import RequestMixin, AuthMixin
 </s> add from djangorestframework.response import Response, ErrorResponse
from djangorestframework.mixins import RequestMixin, ResponseMixin, AuthMixin </s> remove from djangorestframework.response import Response, ResponseException
 </s> add from djangorestframework.response import Response, ErrorResponse
from djangorestframework.response import ErrorResponse
  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
  
  
  class TestValidatorMixinInterfaces(TestCase):
      """Basic tests to ensure that the ValidatorMixin classes expose the expected interfaces"""
  
keep keep keep keep replace keep keep keep keep keep
 Rename mixins into Mixin class, rename ResponseException to ErrorResponse, remove NoContent 
djangorestframework/tests/validators.py