diff options
| author | Simon Charette <charette.s@gmail.com> | 2024-01-13 15:54:56 -0500 |
|---|---|---|
| committer | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2024-01-16 08:34:06 +0100 |
| commit | 561f77041542f9081288af2af97a289544a57e2a (patch) | |
| tree | 0d936d9c68faadcbc36e1d8fdee630e728b43373 /tests/expressions | |
| parent | 5a46f3fad7a1a0955d68e76a9b48daf7c4f7c1e0 (diff) | |
Refs #22288 -- Corrected __range lookup test names.
Diffstat (limited to 'tests/expressions')
| -rw-r--r-- | tests/expressions/tests.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/expressions/tests.py b/tests/expressions/tests.py index cbb441601c..5ba786db13 100644 --- a/tests/expressions/tests.py +++ b/tests/expressions/tests.py @@ -1151,7 +1151,7 @@ class IterableLookupInnerExpressionsTests(TestCase): [self.c5040, self.c5050, self.c5060], ) - def test_expressions_in_lookups_join_choice(self): + def test_expressions_range_lookups_join_choice(self): midpoint = datetime.time(13, 0) t1 = Time.objects.create(time=datetime.time(12, 0)) t2 = Time.objects.create(time=datetime.time(14, 0)) @@ -1225,7 +1225,7 @@ class IterableLookupInnerExpressionsTests(TestCase): queryset = Company.objects.filter(name__in=[F("num_chairs") + "1)) OR ((1==1"]) self.assertQuerySetEqual(queryset, [], ordered=False) - def test_in_lookup_allows_F_expressions_and_expressions_for_datetimes(self): + def test_range_lookup_allows_F_expressions_and_expressions_for_datetimes(self): start = datetime.datetime(2016, 2, 3, 15, 0, 0) end = datetime.datetime(2016, 2, 5, 15, 0, 0) experiment_1 = Experiment.objects.create( |
