mirror of
https://github.com/django/django.git
synced 2025-08-03 18:38:50 +00:00
Fixed spelling of "nonexistent".
This commit is contained in:
parent
a21ec12409
commit
29f607927f
47 changed files with 141 additions and 114 deletions
|
@ -2827,13 +2827,13 @@ class EmptyStringsAsNullTest(TestCase):
|
|||
|
||||
def test_direct_exclude(self):
|
||||
self.assertQuerysetEqual(
|
||||
NamedCategory.objects.exclude(name__in=['nonexisting']),
|
||||
NamedCategory.objects.exclude(name__in=['nonexistent']),
|
||||
[self.nc.pk], attrgetter('pk')
|
||||
)
|
||||
|
||||
def test_joined_exclude(self):
|
||||
self.assertQuerysetEqual(
|
||||
DumbCategory.objects.exclude(namedcategory__name__in=['nonexisting']),
|
||||
DumbCategory.objects.exclude(namedcategory__name__in=['nonexistent']),
|
||||
[self.nc.pk], attrgetter('pk')
|
||||
)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue