  from rest_framework.settings import api_settings
  from rest_framework.test import APIRequestFactory
  from rest_framework.tests.models import BasicModel
  from .models import FilterableItem
  
  factory = APIRequestFactory()
  
  
 
</s> remove             ) </s> add 
from .utils import temporary_setting
  from rest_framework.settings import api_settings
  from rest_framework.test import APIRequestFactory
  from rest_framework.tests.models import BasicModel
  from .models import FilterableItem
from .utils import temporary_setting
  
  factory = APIRequestFactory()
  
  
keep keep keep add keep keep keep keep
 Add SEARCH_PARAM and ORDERING_PARAM to settings

Fixes #1434 
rest_framework/tests/test_filters.py