  from django.test import TestCase, override_settings
  
  from rest_framework.test import APIClient
  
  from .views import BasicModelWithUsersViewSet, OrganizationPermissions
  
  
  @override_settings(ROOT_URLCONF='tests.browsable_api.no_auth_urls')
 
</s> remove from .views import MockView
 </s> add from .views import BasicModelWithUsersViewSet, MockView
from rest_framework.permissions import IsAuthenticated
  from django.test import TestCase, override_settings
  
from rest_framework.permissions import IsAuthenticated
  from rest_framework.test import APIClient
  
  from .views import BasicModelWithUsersViewSet, OrganizationPermissions
  
  
  @override_settings(ROOT_URLCONF='tests.browsable_api.no_auth_urls')
keep add keep keep keep keep keep keep
 tests for #5127 (#7715)

* tests for #5127

* Resolves #5127 
tests/browsable_api/test_browsable_api.py