def create_view(self, es_ordering_fields):
    'Create and return test view class instance\n\n        Args:\n            es_ordering_fields (tuple): ordering fields\n        Returns:\n            ElasticAPIView: test view instance\n        '
    view = ElasticAPIView()
    view.es_ordering_fields = es_ordering_fields
    return view
Create and return test view class instance

Args:
    es_ordering_fields (tuple): ordering fields
Returns:
    ElasticAPIView: test view instance
def create_view(self, es_ordering_fields):
    'Create and return test view class instance\n\n        Args:\n            es_ordering_fields (tuple): ordering fields\n        Returns:\n            ElasticAPIView: test view instance\n        '
    view = ElasticAPIView()
    view.es_ordering_fields = es_ordering_fields
    return view