File tree Expand file tree Collapse file tree 4 files changed +538
-0
lines changed
src/django_elasticsearch_dsl_drf/tests Expand file tree Collapse file tree 4 files changed +538
-0
lines changed Original file line number Diff line number Diff line change 44from .test_faceted_search import TestFacetedSearch
55from .test_filtering_common import TestFilteringCommon
66from .test_filtering_geo_spatial import TestFilteringGeoSpatial
7+ from .test_filtering_nested import TestFilteringNested
8+ from .test_filtering_post_filter import TestFilteringPostFilter
9+ from .test_functional_suggesters import TestFunctionalSuggesters
710from .test_helpers import TestHelpers
11+ from .test_highlight import TestHighlight
812from .test_ordering_common import TestOrdering
913from .test_ordering_geo_spatial import TestOrderingGeoSpatial
1014from .test_pagination import TestPagination
1115from .test_search import TestSearch
1216from .test_serializers import TestSerializers
17+ from .test_suggesters import TestSuggesters
1318from .test_views import TestViews
1419from .test_wrappers import TestWrappers
1520
2126 'TestFacetedSearch' ,
2227 'TestFilteringCommon' ,
2328 'TestFilteringGeoSpatial' ,
29+ 'TestFilteringNested' ,
30+ 'TestFilteringPostFilter' ,
31+ 'TestFunctionalSuggesters' ,
2432 'TestHelpers' ,
33+ 'TestHighlight' ,
2534 'TestOrdering' ,
2635 'TestOrderingGeoSpatial' ,
2736 'TestPagination' ,
2837 'TestSearch' ,
2938 'TestSerializers' ,
39+ 'TestSuggesters' ,
3040 'TestViews' ,
3141 'TestWrappers' ,
3242)
Original file line number Diff line number Diff line change @@ -522,6 +522,10 @@ def test_nested_field_filter_term(self):
522522 self .addresses_in_dublin_count
523523 )
524524
525+ # ***********************************************************************
526+ # ************************* Other fields ********************************
527+ # ***********************************************************************
528+
525529 def test_various_complex_fields (self ):
526530 """Test various complex fields.
527531
@@ -534,6 +538,10 @@ def test_various_complex_fields(self):
534538 response = self .client .get (self .city_detail_url , data )
535539 self .assertEqual (response .status_code , status .HTTP_200_OK )
536540
541+ # ***********************************************************************
542+ # ******************** Core api and core schema *************************
543+ # ***********************************************************************
544+
537545 @unittest .skipIf (not CORE_API_AND_CORE_SCHEMA_ARE_INSTALLED ,
538546 CORE_API_AND_CORE_SCHEMA_MISSING_MSG )
539547 def test_schema_fields_with_filter_fields_list (self ):
Original file line number Diff line number Diff line change @@ -544,6 +544,10 @@ def test_field_filter_contains(self):
544544 # self.published_count
545545 # )
546546
547+ # ***********************************************************************
548+ # ******************** Core api and core schema *************************
549+ # ***********************************************************************
550+
547551 @unittest .skipIf (not CORE_API_AND_CORE_SCHEMA_ARE_INSTALLED ,
548552 CORE_API_AND_CORE_SCHEMA_MISSING_MSG )
549553 def test_schema_fields_with_filter_fields_list (self ):
You can’t perform that action at this time.
0 commit comments