@@ -70,7 +70,7 @@ def wrapper(self, fetch, *args, **kwargs):
70
70
71
71
@skipUnlessDBFeature ("supports_atlas_search" )
72
72
class SearchUtilsMixin (TransactionTestCase ):
73
- available_apps = [ "queries_" ]
73
+ available_apps = None
74
74
75
75
assertCountEqual = _delayed_assertion (timeout = 2 )(TransactionTestCase .assertCountEqual )
76
76
assertListEqual = _delayed_assertion (timeout = 2 )(TransactionTestCase .assertListEqual )
@@ -93,7 +93,6 @@ def drop_index():
93
93
cls .addClassCleanup (drop_index )
94
94
95
95
96
- @skipUnlessDBFeature ("supports_atlas_search" )
97
96
class SearchEqualsTests (SearchUtilsMixin ):
98
97
@classmethod
99
98
def setUpClass (cls ):
@@ -155,7 +154,6 @@ def test_function_score(self):
155
154
self .assertAlmostEqual (scored .score , 1.0 , places = 2 )
156
155
157
156
158
- @skipUnlessDBFeature ("supports_atlas_search" )
159
157
class SearchAutocompleteTests (SearchUtilsMixin ):
160
158
@classmethod
161
159
def setUpClass (cls ):
@@ -235,7 +233,6 @@ def test_constant_score(self):
235
233
self .assertAlmostEqual (scored .score , 10.0 , places = 2 )
236
234
237
235
238
- @skipUnlessDBFeature ("supports_atlas_search" )
239
236
class SearchExistsTests (SearchUtilsMixin ):
240
237
@classmethod
241
238
def setUpClass (cls ):
@@ -261,7 +258,6 @@ def test_constant_score(self):
261
258
self .assertAlmostEqual (scored .score , 10.0 , places = 2 )
262
259
263
260
264
- @skipUnlessDBFeature ("supports_atlas_search" )
265
261
class SearchInTests (SearchUtilsMixin ):
266
262
@classmethod
267
263
def setUpClass (cls ):
@@ -290,7 +286,6 @@ def test_constant_score(self):
290
286
self .assertAlmostEqual (scored .score , 10.0 , places = 2 )
291
287
292
288
293
- @skipUnlessDBFeature ("supports_atlas_search" )
294
289
class SearchPhraseTests (SearchUtilsMixin ):
295
290
@classmethod
296
291
def setUpClass (cls ):
@@ -321,7 +316,6 @@ def test_constant_score(self):
321
316
self .assertAlmostEqual (scored .score , 10.0 , places = 2 )
322
317
323
318
324
- @skipUnlessDBFeature ("supports_atlas_search" )
325
319
class SearchRangeTests (SearchUtilsMixin ):
326
320
@classmethod
327
321
def setUpClass (cls ):
@@ -350,7 +344,6 @@ def test_constant_score(self):
350
344
self .assertAlmostEqual (scored .score , 10.0 , places = 2 )
351
345
352
346
353
- @skipUnlessDBFeature ("supports_atlas_search" )
354
347
class SearchRegexTests (SearchUtilsMixin ):
355
348
@classmethod
356
349
def setUpClass (cls ):
@@ -388,7 +381,6 @@ def test_constant_score(self):
388
381
self .assertAlmostEqual (scored .score , 10.0 , places = 2 )
389
382
390
383
391
- @skipUnlessDBFeature ("supports_atlas_search" )
392
384
class SearchTextTests (SearchUtilsMixin ):
393
385
@classmethod
394
386
def setUpClass (cls ):
@@ -437,7 +429,6 @@ def test_constant_score(self):
437
429
self .assertAlmostEqual (scored .score , 10.0 , places = 2 )
438
430
439
431
440
- @skipUnlessDBFeature ("supports_atlas_search" )
441
432
class SearchWildcardTests (SearchUtilsMixin ):
442
433
@classmethod
443
434
def setUpClass (cls ):
@@ -471,7 +462,6 @@ def test_constant_score(self):
471
462
self .assertAlmostEqual (scored .score , 10.0 , places = 2 )
472
463
473
464
474
- @skipUnlessDBFeature ("supports_atlas_search" )
475
465
class SearchGeoShapeTests (SearchUtilsMixin ):
476
466
@classmethod
477
467
def setUpClass (cls ):
@@ -524,7 +514,6 @@ def test_constant_score(self):
524
514
self .assertAlmostEqual (scored .score , 10.0 , places = 2 )
525
515
526
516
527
- @skipUnlessDBFeature ("supports_atlas_search" )
528
517
class SearchGeoWithinTests (SearchUtilsMixin ):
529
518
@classmethod
530
519
def setUpClass (cls ):
@@ -579,7 +568,6 @@ def test_constant_score(self):
579
568
self .assertAlmostEqual (scored .score , 10.0 , places = 2 )
580
569
581
570
582
- @skipUnlessDBFeature ("supports_atlas_search" )
583
571
@unittest .expectedFailure
584
572
class SearchMoreLikeThisTests (SearchUtilsMixin ):
585
573
@classmethod
@@ -620,7 +608,6 @@ def test_search_more_like_this(self):
620
608
self .assertQuerySetEqual (qs .all , [self .article1 , self .article2 ], lambda a : a .headline )
621
609
622
610
623
- @skipUnlessDBFeature ("supports_atlas_search" )
624
611
class CompoundSearchTests (SearchUtilsMixin ):
625
612
@classmethod
626
613
def setUpClass (cls ):
@@ -784,7 +771,6 @@ def test_search_and_filter(self):
784
771
self .assertCountEqual (qs .all , [self .icy_moons ])
785
772
786
773
787
- @skipUnlessDBFeature ("supports_atlas_search" )
788
774
class SearchVectorTests (SearchUtilsMixin ):
789
775
@classmethod
790
776
def setUpClass (cls ):
0 commit comments