@pytest.mark.parametrize('es_ordering_fields, expected', [(('first_name', ('is_active', 'active')), ('first_name', ('is_active', 'active'))), ('first_name', ('first_name',))])
def test_get_es_ordering_fields(self, es_ordering_fields, expected):
    view = self.create_view(es_ordering_fields)
    result = self.backend.get_es_ordering_fields(view)
    assert (expected == result)
@pytest.mark.parametrize('es_ordering_fields, expected', [(('first_name', ('is_active', 'active')), ('first_name', ('is_active', 'active'))), ('first_name', ('first_name',))])
def test_get_es_ordering_fields(self, es_ordering_fields, expected):
    view = self.create_view(es_ordering_fields)
    result = self.backend.get_es_ordering_fields(view)
    assert (expected == result)