  from django.conf.urls.defaults import patterns, url
  from django import http
  from django.test import TestCase
  from djangorestframework.compat import View
  from djangorestframework.emitters import EmitterMixin, BaseEmitter
  from djangorestframework.response import Response
  
  DUMMYSTATUS = 200
  DUMMYCONTENT = 'dummycontent'
  
 
</s> remove from djangorestframework.request import RequestMixin
 </s> add from djangorestframework.mixins import RequestMixin </s> remove from djangorestframework.response import ResponseException
 </s> add from djangorestframework.response import ErrorResponse </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.request import RequestMixin
 </s> add from djangorestframework.mixins import RequestMixin </s> remove from djangorestframework.response import NoContent, ResponseException
 </s> add from djangorestframework.response import ErrorResponse
from djangorestframework.emitters import BaseEmitter
from djangorestframework.mixins import ResponseMixin
  from django.conf.urls.defaults import patterns, url
  from django import http
  from django.test import TestCase
  from djangorestframework.compat import View
from djangorestframework.emitters import BaseEmitter
from djangorestframework.mixins import ResponseMixin
  from djangorestframework.response import Response
  
  DUMMYSTATUS = 200
  DUMMYCONTENT = 'dummycontent'
  
keep keep keep keep replace keep keep keep keep keep
 Rename mixins into Mixin class, rename ResponseException to ErrorResponse, remove NoContent 
djangorestframework/tests/emitters.py